concourse / concourse-chart

Helm chart to install Concourse
Apache License 2.0
145 stars 176 forks source link

Is it possible to tag different workers differently? #263

Closed dlbock closed 3 years ago

dlbock commented 3 years ago

The way that the concourse.worker.env is use right now either in the worker-deployment.yaml or worker-statefulset.yaml is setting the same values for every worker.

How do we set different env values for different workers? Specifically for tags, if we want to have different workers segmented for different things, as the documentation implies we should be able to do.

taylorsilva commented 3 years ago

Separate deployments is one way to achieve this.

For example, we have a few deployments in this repo: https://github.com/concourse/hush-house/tree/master/deployments/with-creds

Each folder represents one deployment. We separated the web (hush-house folder) and worker (workers folder) pods by deployment. If we wanted a group of tagged workers we would create a new deployment.

dlbock commented 3 years ago

AH! Okay, I'll have a look, thanks @taylorsilva ❤️

dlbock commented 3 years ago

~I'm guessing the extra deployments of the concourse chart will just be spinning up workers and connecting back to the web pods in the main deployment group?~

Nvm, I should definitely read before I ask 😄