Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample manifests uses deprecated APIs. #51

Open
musaprg opened this issue Mar 18, 2020 · 0 comments
Open

Sample manifests uses deprecated APIs. #51

musaprg opened this issue Mar 18, 2020 · 0 comments

Comments

@musaprg
Copy link

musaprg commented Mar 18, 2020

I noticed that manifests in kubernetes/ didn't work. I got the error below.

$ kubectl apply -f kubernetes/helloworld-deployment.yaml
error: unable to recognize "kubernetes/helloworld-deployment.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"

From Kubernetes v1.16 release, "Deployment" in extensions/v1beta1 has migrated to apps/v1.
To walk-through this workshop on the cluster whose version is v1.16 above, we need to modify apiVersion of manifests to apps/v1.
reference: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/

It might be helpful to note this deprecation in the tutorial or fix sources.

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

No branches or pull requests

1 participant