-
Notifications
You must be signed in to change notification settings - Fork 227
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
Add helm chart for NFD #423
Add helm chart for NFD #423
Conversation
Hi @adrianchiris. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Addresses issue #422 |
693da49
to
1d70de1
Compare
Thanks @adrianchiris for the PR! I'll take a closer look soon /ok-to-test |
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.
Looking good just a couple of suggestions
deployment/node-feature-discovery/templates/nfd-worker-conf.yaml
Outdated
Show resolved
Hide resolved
Hi, |
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.
Apologies for the delayed review. I had long holidays...
I'm not an expert on helm charts but basically looks good. Just had a few small comments and questions. One thing that I'd like to ask is to update documentation. I.e. a new section in docs/get-started/deployment-and-usage.md
describing helm deployment.
In general I think it would be good to keep the raw deployment yaml templates and helm charts as much in sync as possible. I don't know if there's anything we can really do to make to help with this but to just state it somewhere (e.g. comments in all yaml files or smth).
deployment/node-feature-discovery/templates/nfd-worker-conf.yaml
Outdated
Show resolved
Hide resolved
deployment/node-feature-discovery/templates/nfd-worker-conf.yaml
Outdated
Show resolved
Hide resolved
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.
Will update the PR during next week.
Apologies for the delayed review. I had long holidays...
No worries, hope you enjoyed the holidays ! :)
I'm not an expert on helm charts but basically looks good. Just had a few small comments >and questions. One thing that I'd like to ask is to update documentation. I.e. a new section in >docs/get-started/deployment-and-usage.md describing helm deployment.
Will add doc as well. this was actually in my TODO list for this PR. for now ill cover how to deploy with helm from master. as a second step we should look into creating a helm package for each release and setup a helm repository.
In general I think it would be good to keep the raw deployment yaml templates and helm >charts as much in sync as possible. I don't know if there's anything we can really do to make >to help with this but to just state it somewhere (e.g. comments in all yaml files or smth).
This would need to be looked after in PR reviews unfortunately, but ill add a comment in the yaml templates saying that if you change it, helm deployment templates should be changed as well.
Awesome, thanks for your contribution, is really appreciated! |
OK, good
I think this would be enough, thanks |
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.
Thanks for the documentation! Still some minor comments that need to be addressed
/retest |
Thanks @e0ne! Looks like the only open comment is changing (back) the name of the (worker config) configmap to |
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.
Thanks for the updates @e0ne. Still found few minor things to fix. After these are done you could probably squash the PR again and we should be good to go 🤞 😄
deployment/node-feature-discovery/templates/nfd-worker-conf.yaml
Outdated
Show resolved
Hide resolved
@marquiz could you please help me with CI failure troubleshooting? 'make templates' on my local env doesn't generate any new changes |
[eduardo@fedora-ws node-feature-discovery]$ ./scripts/test-infra/verify.sh
golangci/golangci-lint info checking GitHub for tag 'v1.30.0'
golangci/golangci-lint info found version: 1.30.0 for v1.30.0/linux/amd64
golangci/golangci-lint info installed /home/eduardo/go/bin/golangci-lint
golangci-lint run --timeout 5m0s
[eduardo@fedora-ws node-feature-discovery]$ git branch
* (HEAD detached at adrianchiris/add-helm-chart)* /test pull-node-feature-discovery-verify |
Ach, this must be caused by the latest changes in master. Prow doesn't actually test the revision here, but, this revision merged to master. Rebase on top of master and try |
@ArangoGutierrez thank you. I executed it locally and it didn't find any issue. Let's see if retriggered job passes |
Yeah @marquiz is right, maybe you need a soft rebase, that should fix it |
@marquiz thanks! |
Makes me wonder, why Prow is not setting the |
Rebase did the trick |
Because from the git pow, no rebase is needed, merge succeeds just fine. It's just our testing (or verify step) wasn't happy with the merged result. Prow doesn't know the cause behind this failure. Technically, prow could test BOTH versions, of course and suggest a rebase if the merged one fails... |
This commit adds Helm chart for node-feature-discovery Signed-off-by: Adrian Chiris <adrianc@nvidia.com> Signed-off-by: Ivan Kolodiazhnyi <ikolodiazhny@nvidia.com>
I don't have anything else to add 😊 Great work @e0ne and @adrianchiris! 🎉 Very good to have helm support for NFD, finally... |
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.
tested on k 1.20+
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adrianchiris, ArangoGutierrez, marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@marquiz @ArangoGutierrez thanks for the guiding me to make this merge happen. |
Closes: #422 |
This commit adds Helm chart for node-feature-discovery
Signed-off-by: Adrian Chiris adrianc@nvidia.com