Difference between revisions of "Kubernetes deployments strategies"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<code>[[kubectl get deployments -o json -A]] | grep -A1 -w '"strategy"'</code> | <code>[[kubectl get deployments -o json -A]] | grep -A1 -w '"strategy"'</code> | ||
+ | |||
+ | |||
+ | strategy: | ||
+ | rollingUpdate: | ||
+ | maxSurge: 25% | ||
+ | maxUnavailable: 25% | ||
+ | type: RollingUpdate | ||
== Related == | == Related == |
Revision as of 11:12, 10 October 2023
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: