-
Notifications
You must be signed in to change notification settings - Fork 151
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
feat: add logic to support custom liveness and readiness probes #57
base: main
Are you sure you want to change the base?
Conversation
Are there any plans for this PR to be merged ? |
values.yaml
Outdated
targetMemoryUtilizationPercentage: 60 # available only on Kubernetes ≥1.23 [required "autoscaling/v2"] | ||
behavior: {} # available only on Kubernetes ≥1.23 [required "autoscaling/v2"] | ||
targetMemoryUtilizationPercentage: 60 # available only on Kubernetes ≥1.23 [required "autoscaling/v2"] | ||
behavior: {} # available only on Kubernetes ≥1.23 [required "autoscaling/v2"] |
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.
Spurious whitespace changes here. Please remove.
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.
Removes spaces. Yamllint has a rule that requires two spaces between content and comments by default.
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.
Ahh, interesting. I've never seen that rule before. Thanks for the context! I didn't know yamllint existed, and I'm glad it does. CI for this repo is currently doing helm lint --strict
, which doesn't enforce nearly as much as one might naively expect it to. We should add yamllint to this repo's CI and get a PR together to fix any current violations so we have a basis for code style consistency.
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 contributing! Just made a review pass and have quite minor blocking bits of feedback (just about adding a prefix to the new variable definitions and omitting extraneous whitespace changes). With that, I have no concerns with 👍 and having this merged.
f35f7df
to
13eb4cc
Compare
During local manual verification after cloning this branch locally, I expected to be able to install the chart with Upon closer inspection, then, and for the above reasons, I'm not sure that a full-on livenessProbe and readinessProbe override is an appropriate solution. It simply requires too much intermingled knowledge of anxilliary parts of the chart. Based on the ask in #54, a more targeted solution may be more appropriate and less cumbersome. To help in narrowing down on a solution:
Here are the timing and threshold related properties on liveness and readiness probes, for reference:
My soft suggestion here would be to, instead of allowing the whole A simpler implementation might be to merge any configured livenessProbe into the default one, so the |
@AbrohamLincoln Hey, sorry for what may have come across as shutting down your good work here. I'd really like to address the core issue! Any thoughts or suggestions on how to move forward? |
Sorry, I've been offline since making that last commit. I made these
changes to work around an edge case I encountered involving PKI
authentication. I ended up completely overriding the probes in my
scenario. The default settings in the chart seem to be fine for most use
cases. We can add some additional settings if you'd like, but I always
appreciate having a mechanism to allow for advanced configurations.
…On Mon, Aug 15, 2022, 5:44 PM Devin Canterberry ***@***.***> wrote:
@AbrohamLincoln <https://github.com/AbrohamLincoln> Hey, sorry for what
may have come across as shutting down your good work here. I'd really like
to address the core issue! Any thoughts or suggestions on how to move
forward?
—
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APMRDFHAA4N7QJYLAN4F6P3VZK25JANCNFSM5P4N33SA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
path: / | ||
port: 5000 | ||
{{- end -}} | ||
{{- end -}} |
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.
nit: add \n
Closes #54
Retains current liveness and readiness probe logic while adding the ability to override the defaults.