-
Notifications
You must be signed in to change notification settings - Fork 0
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
helm fixes #1
helm fixes #1
Conversation
Thanks @bwagner5, I don't think this PR was my best work; comments below and inline.
|
The helm template before actually did include the namespace and it still doesn't add it to the metadata. It does seem to add it when you do a regular helm install, not sure why they would work differently... After noticing the namespace weirdness on the template here, I confirmed that NTH is also missing the namespace on the generated plain yaml files we distribute with the release. Until we figure out why, let's just keep the explicit namespace in the metadata. And seriously, no worries on some of these small issues that slipped through the cracks! It was a huge change and is in a much much cleaner state than we had it before. We really appreciate all the time you put into making karpenter and node termination handlers helm chart better!! I was super excited to see a single karpenter pod when testing yesterday! |
The The idiomatic Helm pattern breaks down when doing things like RBAC so I'd be happy to break this and always set namespace to release namespace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I thought I'd pushed these for discussion.
cc45553
to
bb12baa
Compare
bb12baa
to
ece0b6c
Compare
Ok, I think that addresses everything! Let me know if you're cool with everything and we can get this merged today! :) |
@bwagner5 that looks great, shall I merge your branch into mine so you can take both commits in the original PR? As a side note would you like a PR to NTH to add |
Sure, if you merge this PR into your branch, I can approve the original PR and merge it there. We were planning on releasing the NTH helm chart today and add the release namespace in the metadata. If you want to PR the addition, that would be great. But I know our timezones are off by quite a bit, so no worries if you can't get to it. |
Do you want to structure your commits more or are you happy with them as they are? |
I think they're fine, they'll get squashed anyways :D |
I did some manual testing and found a few things.
KARPENTER_IAM_ROLE_ARN
in Makefile so that devs don't have to set that in an env var\
for escaping.
{{- end }}
helm install
orhelm upgrade --install
(didn't try that), but it is when usinghelm template
, so when I originally triedmake apply
which does ahelm template ... | ko apply
it installed karpenter in the default namespace.karpenter-webhook
for the domain so changed to justkarpenter
- matchExpressions:
on the nodeAffinity in the values.yaml file.