Difference between revisions of "Kubernetes deployments strategies"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 2 users 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>[[kubectl get deployments -o json -A]] | grep -A1 -w '"strategy"'</code>
+
* <code>[[recreate]]</code> or <code>[[rollingUpdate]]</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 ==
* {{K8s}}
+
* {{kind: Deployment}}
 +
* {{Kubernetes deployments}}
 +
* {{Kubernetes Workloads}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 08:49, 18 October 2024

Advertising: