Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created November 23, 2020 15:33
Show Gist options
  • Save gowatana/1cbea7408d7f41d476f0b3000d8abd8b to your computer and use it in GitHub Desktop.
Save gowatana/1cbea7408d7f41d476f0b3000d8abd8b to your computer and use it in GitHub Desktop.
diff httpd.yml httpd_anti-affinity.yml
37a38,47
> affinity:
> podAntiAffinity:
> requiredDuringSchedulingIgnoredDuringExecution:
> - labelSelector:
> matchExpressions:
> - key: app
> operator: In
> values:
> - demo-httpd
> topologyKey: "kubernetes.io/hostname"
@gowatana
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment