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

kubectl run 不会再创建deployment了。 #35

Closed
h3z opened this issue Jun 29, 2020 · 2 comments
Closed

kubectl run 不会再创建deployment了。 #35

h3z opened this issue Jun 29, 2020 · 2 comments

Comments

@h3z
Copy link

h3z commented Jun 29, 2020

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:
按照文档中的安装kubectl时,会安装最新的kubectl,而kubectl 1.18之后,链接中这一步里的kubectl run不再会创建deployment了。困扰了我很久,后来才找到了是版本原因。(而且官方--help里也还是说会创建deploymetn),修改一下吧,以免其他人踩坑。
https://github.com/caicloud/kube-ladder/blob/master/tutorials/lab2-application-and-service.md#create-deployment

What you expected to happen:
修改一下kubectl的安装,或者提示一下吧!

How to reproduce it (as minimally and precisely as possible):
kubectl修改这个特性的pr。kubernetes/kubernetes#87077

Anything else we need to know?:

@gaocegege
Copy link

gaocegege commented Jun 29, 2020

谢谢反馈,没有考虑到 generators 全被删掉了这个大改动

/cc @bbbmj

可以考虑把 deployment 改成 pod

@RobertChou
Copy link

那kubectl run了以后还需要手动创建对象吗?比如rc或者deployment

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

3 participants