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

update docs with --wait for helm chart install to avoid race #754

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

aaroniscode
Copy link
Contributor

@aaroniscode aaroniscode commented Oct 20, 2021

1. Issue, if available:

2. Description of changes:
Update docs to avoid a race condition if Karpenter install is automated and a Provisioner is created immediately after a Helm install. Without --wait on Helm install, it's possible for the Provisioner to created before the Mutating Admission Webhook configuration has taken effect.

3. Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: link to issue
  • No

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

@netlify
Copy link

netlify bot commented Oct 20, 2021

✔️ Deploy Preview for karpenter-docs-prod ready!

🔨 Explore the source changes: bbecea7

🔍 Inspect the deploy log: https://app.netlify.com/sites/karpenter-docs-prod/deploys/6170a4b6c050560007ec21af

😎 Browse the preview: https://deploy-preview-754--karpenter-docs-prod.netlify.app

```bash
helm repo add karpenter https://awslabs.github.io/karpenter/charts
helm repo update
helm upgrade --install karpenter karpenter/karpenter --namespace karpenter \
--create-namespace --set serviceAccount.create=false --version 0.4.0
--create-namespace --set serviceAccount.create=false --version 0.4.0 \
--wait
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider

--wait # for the defaulting webhook to install before creating a Provisioner

@aaroniscode aaroniscode force-pushed the mutating_webhook_race branch from afef990 to 2cc9293 Compare October 20, 2021 23:22
@aaroniscode aaroniscode force-pushed the mutating_webhook_race branch from 2cc9293 to bbecea7 Compare October 20, 2021 23:22
@ellistarn ellistarn merged commit 6ba34d9 into aws:main Oct 21, 2021
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.

3 participants