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

Improve helm chart documentation #248

Closed
wants to merge 14 commits into from

Conversation

faganihajizada
Copy link

@faganihajizada faganihajizada commented Feb 18, 2025

  • Github action to auto-generate README file with Helm-docs

Add helm-docs workflow to auto-generate README.md for helm charts.

Signed-off-by: faganihajizada <[email protected]>
Copy link

copy-pr-bot bot commented Feb 18, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Copy link
Collaborator

@ArangoGutierrez ArangoGutierrez left a comment

Choose a reason for hiding this comment

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

I think the scope of this PR is too broad, I would split it into 2 PR's one for HPA and one for the GItHub Action.
Also for the GitHub action, please check the PR we currently have open for reusable workflows and try to make the Helm action follow a similar pattern.

scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "k8s-dra-driver.fullname" . }}-controller
Copy link
Collaborator

Choose a reason for hiding this comment

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

We explicitly do not want more than one instance of the controller running in a cluster at a time. it is not designed to have multiple replicas running.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, @klueska for the info. I remove the HPA and I will add a note about this to README

Readme.md is auto-generated with helm-docs and Chart.yaml is updated with the correct description.

Signed-off-by: faganihajizada <[email protected]>
@faganihajizada
Copy link
Author

faganihajizada commented Feb 18, 2025

I think the scope of this PR is too broad, I would split it into 2 PR's one for HPA and one for the GItHub Action. Also for the GitHub action, please check the PR we currently have open for reusable workflows and try to make the Helm action follow a similar pattern.

thanks for review @ArangoGutierrez

According to #248 (comment) there should not be more than one instance of the controller running. I removed the HPA from this PR.

Do you suggest waiting for the merge of #246 and then adjust accordingly?

Update README files to note that only one controller instance should run per cluster at a time.

Signed-off-by: faganihajizada <[email protected]>
@faganihajizada faganihajizada changed the title Improve helm chart Improve helm chart documentation Feb 18, 2025
elezar and others added 11 commits February 21, 2025 09:59
Update dockerfiles to align with the k8s-device-plugin.

Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](spf13/pflag@v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.29.0 to 0.30.0.
- [Commits](golang/sys@v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Kevin Klues <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
@faganihajizada
Copy link
Author

I will make a new PR if/when #246 is merged

@faganihajizada faganihajizada deleted the improve-helm-chart branch February 24, 2025 20:14
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