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

Generators in kubectl are deprecated #34

Open
solacelost opened this issue May 12, 2020 · 0 comments
Open

Generators in kubectl are deprecated #34

solacelost opened this issue May 12, 2020 · 0 comments

Comments

@solacelost
Copy link

Kubernetes has deprectated generators in kubectl run in version 1.18.

https://kubernetes.io/docs/setup/release/notes/#deprecation-4

Remove all the generators from kubectl run. It will now only create pods. Additionally, deprecates all the flags that are not relevant anymore.

This affects the sections:

  • Intro
    • kubectl run nginx --image=nginx --replicas=3

  • Validation and generators
    • To construct the HTTP request, kubectl uses something called generators which is an abstraction that takes care of serialization.

  • API groups and version negotiation
    • After kubectl generates the runtime object

  • etcd
    • (kinda like the inverse process of kubectl's generators)

And that's all I could find with some grokking.

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