Difference between revisions of "Kubernetes deployments strategies"
Jump to navigation
Jump to search
(13 intermediate revisions by the same user not shown) | |||
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> | ||
− | |||
+ | [[strategy:]] | ||
+ | [[rollingUpdate:]] | ||
+ | maxSurge: 25% | ||
+ | maxUnavailable: 25% | ||
+ | type: RollingUpdate | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kind: Deployment]]</code> | ||
+ | * [[Kubernetes Canary Deployments]] | ||
+ | * <code>[[Kubernetes image:|image]]</code>: | ||
+ | * [[Kubernetes deployments strategies]] | ||
+ | * [[AWS ECS Rolling deployments]] | ||
== See also == | == See also == | ||
+ | * {{kind: Deployment}} | ||
* {{Kubernetes deployments}} | * {{Kubernetes deployments}} | ||
* {{Kubernetes Workloads}} | * {{Kubernetes Workloads}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 08:49, 18 October 2024
kubectl get deployments -o json -A | grep -A1 -w '"strategy"'
strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate
Related[edit]
kind: Deployment
- Kubernetes Canary Deployments
image
:- Kubernetes deployments strategies
- AWS ECS Rolling deployments
See also[edit]
kind: Deployment, kubectl apply, kubectl set image, kubectl create deploy
- 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: