I got this error when doing the "Creating Deployments" section of https://google.qwiklabs.com/focuses/1747?parent=catalog It looks like this is an issue with the API version in the deployment yaml files. Doing this: kubectl convert -f deployments/hello.yaml --output-version apps/v1 > deployments/new-hello.yaml for each of the deployment yamls before the kubectl create -f fixed the issue for me.
I got this error when doing the "Creating Deployments" section of https://google.qwiklabs.com/focuses/1747?parent=catalog
It looks like this is an issue with the API version in the deployment yaml files. Doing this:
kubectl convert -f deployments/hello.yaml --output-version apps/v1 > deployments/new-hello.yaml
for each of the deployment yamls before the kubectl create -f fixed the issue for me.