Difference between revisions of "Affinity:"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
{{affinity example}}
 
{{affinity example}}
 +
 +
 +
 +
  affinity:
 +
    podAntiAffinity:
 +
      [[requiredDuringSchedulingIgnoredDuringExecution]]:
 +
        - [[labelSelector]]:
 +
            [[matchExpressions]]:
 +
              - key: app
 +
                [[operator:]] In
 +
                [[values]]:
 +
                  - YOURAPPNAME
 +
          [[topologyKey]]: "[[kubernetes.io/hostname]]"
  
  

Revision as of 07:50, 24 July 2024

Advertising: