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

Add separate helm values for the liveness and readiness probes #1913

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

tobiasgiese
Copy link
Member

@tobiasgiese tobiasgiese commented Oct 18, 2024

This PR adds separate helm values for the probes. This is necessary to override the health port in the probes.
Follow-up to #1885

Also the helm.md has been reformatted.

The updated helm documentation can be seen here: https://deploy-preview-1913--kubernetes-sigs-nfd.netlify.app/deployment/helm

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 18, 2024
Copy link

netlify bot commented Oct 18, 2024

Deploy Preview for kubernetes-sigs-nfd ready!

Name Link
🔨 Latest commit 52c2fc6
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-nfd/deploys/67123e78cb6ea100084d3307
😎 Deploy Preview https://deploy-preview-1913--kubernetes-sigs-nfd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 18, 2024
@tobiasgiese tobiasgiese force-pushed the helm-probes-fix branch 2 times, most recently from fbb2af5 to 45020bd Compare October 18, 2024 10:52
Signed-off-by: Tobias Giese <tgiese@nvidia.com>
Signed-off-by: Tobias Giese <tgiese@nvidia.com>
@tobiasgiese
Copy link
Member Author

/assign @marquiz @ArangoGutierrez

@tobiasgiese tobiasgiese changed the title Helm probes fix Add separate helm values for the liveness and readiness probes Oct 18, 2024
Copy link
Contributor

@adrianchiris adrianchiris left a comment

Choose a reason for hiding this comment

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

overall lgtm

{{- with .Values.worker.readinessProbe.periodSeconds }}
periodSeconds: {{ . }}
{{- end }}
{{- with .Values.worker.readinessProbe.timeoutSeconds }}
Copy link
Contributor

Choose a reason for hiding this comment

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

this works when timeoutSecond is not provided in values? just making sure :)

Copy link
Member Author

Choose a reason for hiding this comment

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

it works, yes. Currently there are only comments in the values.yaml :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Given the NV-heavy presence on this PR, I'll leave the final decision to @marquiz

@adrianchiris
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 21, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 644d8d4a694dce63783a2204123ce4bbce37cfd3

Copy link
Contributor

@marquiz marquiz left a comment

Choose a reason for hiding this comment

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

Thanks @tobiasgiese for the improvement.
/lgtm

I have some changes cooking up on this front, too, so stay tuned

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marquiz, tobiasgiese

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 23, 2024
@k8s-ci-robot k8s-ci-robot merged commit 83ba1ff into kubernetes-sigs:master Oct 23, 2024
9 checks passed
@tobiasgiese tobiasgiese deleted the helm-probes-fix branch October 23, 2024 11:36
ArangoGutierrez pushed a commit to ArangoGutierrez/node-feature-discovery that referenced this pull request Oct 24, 2024
Add separate helm values for the liveness and readiness probes
@marquiz marquiz mentioned this pull request Dec 12, 2024
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants