gluster / gluster-subvol

Subdirectories of Gluster volumes as PVs in Kubernetes and OpenShift
Apache License 2.0
11 stars 6 forks source link

Add support for tolerations and affinity #46

Closed JohnStrunk closed 5 years ago

JohnStrunk commented 5 years ago

This adds support for affinity & tolerations in the CRs. It also, by default, applies a nodeAffinity that constrains all components to Linux hosts.

Note: If a user sets a custom affinity, it will override the default Linux constraint.

Fixes: #31 Fixes: #45