Skip to content

feat(helm): add topologySpreadConstraints value #15168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 25, 2024

Conversation

ericpaulsen
Copy link
Member

@ericpaulsen ericpaulsen commented Oct 21, 2024

my attempt at closing #12904 - @spikecurtis let me know where i'm going wrong, the topologySpreadConstraints value is not included in the template despite being set in the values.yaml.

i'm running helm template . --debug to test.

@ericpaulsen ericpaulsen added the helm Area: helm chart label Oct 21, 2024
@ericpaulsen ericpaulsen self-assigned this Oct 21, 2024
@ericpaulsen ericpaulsen changed the title helm: add topologySpreadConstraints value feat: add topologySpreadConstraints value Oct 22, 2024
@ericpaulsen ericpaulsen marked this pull request as ready for review October 24, 2024 10:44
@ethanndickson ethanndickson force-pushed the topologySpreadContraints branch from 6ba6105 to e744e17 Compare October 24, 2024 10:46
@matifali matifali changed the title feat: add topologySpreadConstraints value feat(helm): add topologySpreadConstraints value Oct 24, 2024
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Tested it out and works on my own cluster after helm dependency update --skip-refresh

Just missing a doc string (and possibly a make gen)

@@ -236,6 +236,14 @@ coder:
topologyKey: kubernetes.io/hostname
weight: 1

topologySpreadConstraints:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
topologySpreadConstraints:
# coder.topologySpreadConstraints -- Topology spread constraints.
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
topologySpreadConstraints:

@ericpaulsen ericpaulsen merged commit b62f3e6 into main Oct 25, 2024
30 checks passed
@ericpaulsen ericpaulsen deleted the topologySpreadContraints branch October 25, 2024 08:14
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
helm Area: helm chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants