# kubectl set image deployment nginx nginx=registry.ctwifi.cn:5000/web/nginx:1.20

# kubectl patch deployment nginx --patch '{"spec": {"template": {"spec": {"containers": [{"name": "nginx","image":"registry.ctwifi.cn:5000/web/nginx:1.17"}]}}}}'
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐