Difference between revisions of "Kubernetes deployments strategies"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<code>kubectl get deployments -o json -A | grep -A1 -w '"strategy"'</code> == See also == * {{K8s}} Category:K8s")
 
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code>[[kubectl get deployments -o json -A]] | grep -A1 -w '"strategy"'</code>
+
* https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
  
 +
* <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]]
  
 
== See also ==
 
== See also ==
* {{K8s}}
+
* {{kind: Deployment}}
 +
* {{Kubernetes deployments}}
 +
* {{Kubernetes Workloads}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 12:13, 15 January 2024

Advertising: