Difference between revisions of "Kubectl scale"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
== See also == | == See also == | ||
* {{ReplicaSet}} | * {{ReplicaSet}} | ||
+ | * {{kubectl scale}} | ||
* {{kubectl}} | * {{kubectl}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Revision as of 20:26, 4 December 2021
kubectl scale deployment YOUR_DEPLOYMENT_NAME
- https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#scale
kubectl scale --help
kubectl scale --replicas=3 rs/foo
kubectl scale deployment <<name>> --replicas=0 -n service
Related terms
See also
- ReplicaSet,
kubectl get replicaset, kubectl describe replicaset, kind: ReplicaSet, ScalingReplicaSet
, replicaset-controller kubectl scale
: [deployment | sts | --help
], HPAkubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: