kubectl 1.37 reference · 4 entries

kubectl Workloads

Roll out, roll back, scale and relabel workloads with kubectl rollout, scale, set image and label.

NameDescriptionSince
kubectl rollout Manage Deployment, StatefulSet and DaemonSet rollouts: watch status, view history, restart and undo to a previous revision.
kubectl scale Set the number of replicas of a Deployment, ReplicaSet or StatefulSet; avoid it for workloads managed by an autoscaler.
kubectl set image Change the image of one or more containers in a workload's pod template, which starts a rolling update.
kubectl label Add, change or remove labels on resources; labels drive selectors for Services, Deployments, network policies and queries.

Was this page helpful?