Skip to content
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

feat: Added additional topology spread constraint #3190

Merged
merged 9 commits into from
Mar 2, 2023

Conversation

wpbeckwith
Copy link
Contributor

Fixes #

Description

While a production cluster should definitely be multi-zonal, some dev/test clusters may only be in a single zone. Regardless, we don't want the multiple karpenter pods on a single host if possible.

How was this change tested?
Deployed to multiple clusters with one or multiple zones and verified karpenter pods are on different hosts

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note

Added additional topology spread constraint for the kubernetes.io/hostname topologyKey

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

While a production cluster should definitely be multi-zonal, some dev/test clusters may only be in a single zone.  Regardless, we don't want the multiple karpenter pods on a single host.
Added additional topology spread constraint
@wpbeckwith wpbeckwith requested a review from a team as a code owner January 10, 2023 18:09
@netlify
Copy link

netlify bot commented Jan 10, 2023

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit b89a1b3
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/63fe4c719cb3400008f043ba

@jonathan-innis
Copy link
Contributor

@wpbeckwith Ping for the requested changes. Otherwise, PR looks good!

@jonathan-innis
Copy link
Contributor

@runningman84 This PR has gone stale. If you want to open a PR that adds preferred hostname anti-affinity, we would be happy to accept it.

@wpbeckwith
Copy link
Contributor Author

Sorry been busy with a cloud migration. We'll get this submitted this weekend.

charts/karpenter/values.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 Thanks for contribution! 🎉

@jonathan-innis jonathan-innis merged commit df17e15 into aws:main Mar 2, 2023
johngmyers pushed a commit to johngmyers/karpenter that referenced this pull request May 31, 2024
Merge in DEL/karpenter-fork from DELIVERY-8215_update_to_0.27.0 to main

* commit 'c5b7235218996a4579180ab4811afe82c884ee9f':
  chore: Bump `karpenter-core` to latest (aws#3548)
  BREAKING CHANGE: Convert preferred anti-affinity to required anti-affinity (aws#3543)
  test: Fix daemonset preemption in testing to be `PreemptLowerPriority` (aws#3544)
  chore: Move instance to providers (aws#3509)
  docs: cleanup `aws.tags` and `specs.tags` docs (aws#3540)
  docs: Add Canva to Adopters (aws#3541)
  fix: fixed an issue where only using owners in amiSelector resulted in a failure (aws#3533)
  feat: add featureGates.driftEnabled to helm chart values (aws#3521)
  chore: Release v0.26.1 (aws#3519)
  fix: inflight IP tracking when CreateFleet returns an error (aws#3515)
  chore: add more integration test logs (aws#3511)
  chore(deps): bump github.com/aws/aws-sdk-go from 1.44.195 to 1.44.212 in /test (aws#3508)
  test: if the test fails, identify the names of the created nodes (aws#3504)
  chore: Move instancetypes to providers (aws#3478)
  feat: Added additional topology spread constraint (aws#3190)
  chore: Release v0.26.0 (aws#3506)
  test: fix test panic (aws#3503)
  chore: fix pco allocation strategy for ec2 fleet (aws#3502)
  docs: Add Docker to adopters list (aws#3500)
  Typo (aws#3487)
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.

5 participants