SUSE / caasp-salt

A collection of salt states used to provision a kubernetes cluster
Apache License 2.0
64 stars 29 forks source link

[3.0] Configure addon pod affinity #633

Closed kiall closed 6 years ago

kiall commented 6 years ago

Sometimes, Kubernetes will schedule all replicas of an addon to the same machine. Defeating much of the purpose of running multiple replicas.

Configure all addons with affinity rules to encourage Kubernetes to spread these pods around the available machines.

bsc#1101805

Backport of https://github.com/kubic-project/salt/pull/632