Difference between revisions of "Kubernetes deployments strategies"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy | * https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy | ||
− | * <code>[[ | + | * <code>[[recreate]]</code> or <code>[[rollingUpdate]]</code> |
<code>[[kubectl get deployments -o json -A]] | grep -A1 -w '"strategy"'</code> | <code>[[kubectl get deployments -o json -A]] | grep -A1 -w '"strategy"'</code> |
Revision as of 12:12, 15 January 2024
kubectl get deployments -o json -A | grep -A1 -w '"strategy"'
strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate
Related
See also
- Kubernetes deployments, strategies:
kind: Deployment
, Strategies:Recreate
orRollingUpdate
,kubectl
[create | describe | get | scale | rollout | deployment/
], Kubernetes Canary Deployments,deployment.kubernetes.io
- Kubernetes Workloads:
Deployment
,ReplicaSet, StatefulSet, DaemonSets, Job, CronJob
,.apps/
Advertising: