charts icon indicating copy to clipboard operation
charts copied to clipboard

[chart/redis-ha] Make exporter probes optional

Open sonrai-doyle opened this issue 3 years ago • 6 comments

What this PR does / why we need it:

This adds the option to remove the livenessProbe and readinessProbe from the exporter container.

Which issue this PR fixes

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • [x] DCO signed
  • [x] Chart Version bumped
  • [x] Variables are documented in the README.md
  • [x] Title of the PR starts with chart name (e.g. [stable/mychartname])

sonrai-doyle avatar Sep 07 '22 14:09 sonrai-doyle

@sonrai-doyle May be better here to do a toYaml templating for the probes that way if people want to remove it they just add the following to the values file:

livenessProbe: {}

DandyDeveloper avatar Sep 11 '22 12:09 DandyDeveloper

@sonrai-doyle Any way you can update / give input on my comment? Will close soon if I don't hear from you.,

DandyDeveloper avatar Sep 24 '22 06:09 DandyDeveloper

Sorry @DandyDeveloper missed your comment while I was away on vacation. Will look at making the suggested change as I can.

sonrai-doyle avatar Sep 26 '22 11:09 sonrai-doyle

+1 Waiting for this, sometimes Redis wants to recover, and we want exporter to be enabled (without probes) since it will get timeouts, etc. and makes entire pod to be unavailable.

mhkarimi1383 avatar Mar 08 '23 22:03 mhkarimi1383

@DandyDeveloper Sorry for the delay in addressing your comments. Would you be able to re-review?

sonrai-doyle avatar Mar 09 '23 13:03 sonrai-doyle

@sonrai-doyle But that would be better if we can make all of the probes optional (some times we want to disable probes for all of the containers for debugging, etc.)

mhkarimi1383 avatar Mar 09 '23 20:03 mhkarimi1383