Skip to content

Instantly share code, notes, and snippets.

@marciorodrigues87
Created June 14, 2018 14:18
Show Gist options
  • Save marciorodrigues87/56bfa73abd641295d8f47184b4d903c8 to your computer and use it in GitHub Desktop.
Save marciorodrigues87/56bfa73abd641295d8f47184b4d903c8 to your computer and use it in GitHub Desktop.
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: labelKey
operator: In
values:
- labelValue
topologyKey: kubernetes.io/hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment