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

Liveness and Readiness Probe PR is broken. #470

Closed
zaggash opened this issue Jun 27, 2023 · 4 comments · Fixed by #471
Closed

Liveness and Readiness Probe PR is broken. #470

zaggash opened this issue Jun 27, 2023 · 4 comments · Fixed by #471
Labels
bug Something isn't working velero

Comments

@zaggash
Copy link

zaggash commented Jun 27, 2023

What steps did you take and what happened:
Updating the Charts in place and the application failed to start.

The PR 90450f6 assume you have metrics enabled.

What did you expect to happen:

The update should run but not affect my workload.

The output of the following commands will help us better understand what's going on:
My pod is starting but failling because of :

Messages
• Readiness probe errored: strconv.Atoi: parsing "http-monitoring": invalid syntax

Anything else you would like to add:
The probe uses the metrics endpoint.
However if you have metrics disabled, the liveness config is not valid.

Environment:

  • helm version (use helm version): 3.12.0
  • helm chart version and app version (use helm list -n <YOUR NAMESPACE>): 4.1.0
  • Kubernetes version (use kubectl version): 1.27.2
  • Kubernetes installer & version: k3s 1.27.2+k3s1
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): FlatCar 3374.2.1
@zaggash zaggash changed the title Liveness and Readiness Probe PR https://github.com/vmware-tanzu/helm-charts/commit/90450f6ea3448f987f6bb8e5d13491182718f755 is broken. Liveness and Readiness Probe PR is broken. Jun 27, 2023
@jenting jenting added the bug Something isn't working label Jun 28, 2023
@jenting
Copy link
Collaborator

jenting commented Jun 28, 2023

@maxime1907 could you please help address this issue?

@sjoukedv
Copy link

The new default probe is only valid if you have metrics.enabled (see https://github.com/vmware-tanzu/helm-charts/blob/main/charts/velero/templates/deployment.yaml#L70-74).

#470 solves the issue I am having, but in the ideal world we would automatically set the liveness/readiness probe on the container for those that do have metric enabled

@zaggash
Copy link
Author

zaggash commented Jul 2, 2023

You mean #471 not this issue #470

right ?

@sjoukedv
Copy link

sjoukedv commented Jul 3, 2023

Yes, my bad. That's also the one where this issue was referenced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working velero
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants