[root@k8s-master1 hpa]# kubectl create delpoyment nginx  --image=nginx
Error: unknown flag: --image
See 'kubectl create --help' for usage.

提示是未知标签,这个定位有点坑,一直以为是image哪里错误,实际上是我deployment 写成了 delpoyment造成的错误

[root@k8s-master1 hpa]# kubectl create deployment nginx  --image=nginx
Error from server (AlreadyExists): deployments.apps "nginx" already exists

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2022-02-27
  • 2022-03-10
  • 2021-12-25
猜你喜欢
  • 2021-06-30
  • 2021-10-05
  • 2021-06-26
  • 2022-12-23
  • 2022-02-04
  • 2022-12-23
相关资源
相似解决方案