loft-sh / loft

Namespace & Virtual Cluster Manager for Kubernetes - Lightweight Virtual Clusters, Self-Service Provisioning for Engineers and 70% Cost Savings with Sleep Mode
https://loft.sh/docs/introduction
Other
737 stars 65 forks source link

please expose node affinity in helm charts #174

Closed cyclingwithelephants closed 2 years ago

cyclingwithelephants commented 2 years ago

as a result of https://github.com/loft-sh/loft/issues/173 I need to guarantee that loft is scheduled onto an x86 node but the helm chart provides no exposure to specify node affinity for workloads.

Solving the linked issue would remove my need for this issue to be solved but of course this isn't the only use case for node affinity

cyclingwithelephants commented 2 years ago

I'm a fool, you totally do! https://github.com/loft-sh/loft/blob/master/charts/loft/templates/deployment.yaml#L152