Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

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

Open
urzumph opened this issue Oct 6, 2020 · 1 comment

Comments

@urzumph
Copy link

urzumph commented Oct 6, 2020

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.

@Siddhant-K-code
Copy link

#13 fixed it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants