楚阿旗

博客园 首页 新随笔 联系 订阅 管理
CommandDescription
kubectl autoscale deployment Autoscales a Kubernetes Deployment.
kubectl create configmap Creates a ConfigMap resource.
kubectl get deployments -o wide Lists deployments with details.
kubectl get hpa Lists Horizontal Pod Autoscalers (hpa)
kubectl scale deployment Scales a deployment.
kubectl set image deployment Updates the current deployment.
kubectl rollout Manages the rollout of a resource.
kubectl rollout restart Restarts the resource so that the containers restart.
kubectl rollout undo Rollbacks the resource.
posted on 2024-03-28 12:40  楚阿旗  阅读(9)  评论(0)    收藏  举报