Kubernetes Deployment Operations
Jump to navigation
Jump to search
Internal
Getting a Deployment
kubectl get deployment <deployment-name>
Creating Deployments
Updating Deployments
kubectl get deployment ... -o yaml → modify → kubectl apply -f
Scaling Up and Down
kubectl scale --replicas=0 deployment <my-deployment> kubectl scale --replicas=2 deployment <my-deployment>