Skip to content

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Oct 21, 2021

This PR adds the coderd.affinity configuration knob. This allows the user to specify any affinity they like for the coderd deployment. An example affinity is provided.

@johnstcn johnstcn self-assigned this Oct 21, 2021
@shortcut-integration
Copy link

{{- else }}
{{- tpl (.value | toYaml) .context }}
{{- end }}
{{- end -}}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is shamlessly lifted from Bitnami's charts repo :-)

Copy link
Member

@deansheather deansheather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work for me

@johnstcn johnstcn changed the title feat: helm: add anti-affinity rule for deployments with multiple replicas feat: helm: support adding affinity rule for coderd service Oct 22, 2021
@johnstcn johnstcn merged commit 41c4b31 into main Oct 22, 2021
@johnstcn johnstcn deleted the cj/ch17413/coderd_anti_affinity branch October 22, 2021 19:23
@jawnsy
Copy link
Contributor

jawnsy commented Oct 22, 2021

@khorne3 I know we autogenerate some docs for Helm values, I'm not sure if we need to note this anywhere, like in the release notes? Should be compatible with prior versions due to new defaults

@khorne3
Copy link
Contributor

khorne3 commented Oct 22, 2021

Yeah, release notes would be good. I'll add a mention to 1.24 changelog

@johnstcn
Copy link
Member Author

Thanks @khorne3 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants