Question

errors when run ing helm commands when following the starter-project for kubernetes clusters

Posted October 24, 2021 42 views
KubernetesDigitalOcean Managed Kubernetes

While following the starter-project for kubernetes clusters https://github.com/digitalocean/Kubernetes-Starter-Kit-Developers/blob/main/03-setup-ingress-ambassador/README.md

At step 3 i have to run the following command

HELM_CHART_VERSION="6.7.13"

helm install ambassador datawire/ambassador --version "$HELM_CHART_VERSION" \
    --namespace ambassador \
    --create-namespace \
    -f "03-setup-ingress-ambassador/assets/manifests/ambassador-values-v${HELM_CHART_VERSION}.yaml"

before this i had to run

helm repo add datawire https://www.getambassador.io

Which installed datawire/ambassador 6.9.3 not 6.7.13.
So i changed the HELMCHARTVERSION to 6.9.3 and refactored the ambassador-values-v${HELMCHARTVERSION}.yaml" so it can be found when running the script.

But i end up getting the following response

W1024 18:27:41.166526   71945 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W1024 18:27:41.236768   71945 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W1024 18:27:41.309974   71945 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
Error: INSTALLATION FAILED: failed to install CRD crds/getambassador.io_consulresolvers.yaml: Post "https://2bd9a7b0-b14b-4432-a719-1ff4dd146ec8.k8s.ondigitalocean.com/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions?fieldManager=helm": EOF

When i try to look at if anything has been installed with
kubectl get crd –all-namespaces | grep ambassador

I this response

authservices.getambassador.io                    2021-10-24T16:27:43Z
filterpolicies.getambassador.io                  2021-10-24T16:27:43Z
filters.getambassador.io                         2021-10-24T16:20:43Z

looks like something happend but i’m not sure if i can ignore the warnings and the error and just continue. And if not how to fix this problem.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!