Difference between revisions of "Kubernetes deployments strategies"

From wikieduonline
Jump to navigation Jump to search
 
(12 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>[[Recreate]]</code> or <code>[[RollingUpdate]]</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>
  
[[rollingUpdate]]
 
[[kind: Deployment]]
 
  
 +
  [[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

Advertising: