openstack-helm icon indicating copy to clipboard operation
openstack-helm copied to clipboard

feat: Use PodAffinity and NodeAffinity instead of Daemonsets

Open DTadrzak opened this issue 9 years ago • 0 comments

In order to get rid of Daemonsets We should use a Deployments which use NodeAffinity/PodAffinity/PodAnti-Affinity.

Thanks to this approach we would be able to use only two kinds of labels (openstack-control-plane, openstack-compute-node), we don't need to take care about ovs label. It makes cluster administrating easier.

What's more It's first step to support drain command(#36) in OpenStack-helm solution.

Regarding to dynamic changes in cluster configuration. We can set replicas: 1000 so that Operators don't need to take care about increasing the amount every time, when a new server is discovered. What's more if we add PodAnti-Affinity to deployment annotations we are sure that only 1 instance per node is deployed.

DTadrzak avatar Jan 17 '17 14:01 DTadrzak