Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created Nov 23, 2020
Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@gowatana gowatana commented Nov 23, 2020

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