Difference between revisions of "Kubernetes Pod Topology Spread Constraints"

From wikieduonline
Jump to navigation Jump to search
(Created page with "* https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ * {{K8s}}")
 
Line 1: Line 1:
 
* https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
 
* https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  
 +
<pre>
 +
apiVersion: v1
 +
kind: Pod
 +
metadata:
 +
  name: mypod
 +
spec:
 +
  topologySpreadConstraints:
 +
    - maxSkew: <integer>
 +
      topologyKey: <string>
 +
      whenUnsatisfiable: <string>
 +
      labelSelector: <object>
 +
</pre>
  
  
 +
== See also ==
  
 
* {{K8s}}
 
* {{K8s}}

Revision as of 12:48, 26 May 2022

Advertising: