googlecodelabs/orchestrate-with-kubernetes

error: unable to recognize "deployments/hello.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"

urzumph opened this issue · 1 comments

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.

#13 fixed it