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

Configuring Liveness/Readiness probes (httpGet -> scheme) is not working as expected through values file #825

Open
mbasha86 opened this issue Dec 1, 2023 · 0 comments

Comments

@mbasha86
Copy link

mbasha86 commented Dec 1, 2023

Hi All,

We have configured elasticsearch_exporter to export metrics on HTTPS for Prometheus communication. This requires configuration for Liveness/Readiness probes to reflect that change in values.yaml file, so we had to change scheme to use for connecting to the host (HTTPS) as per below as an example:

image:
  repository: quay.io/prometheuscommunity/elasticsearch-exporter
  tag: v1.6.0
  pullPolicy: IfNotPresent
  pullSecret: ""

podSecurityContext:
  runAsUser: 1000

livenessProbe:
  httpGet:
    scheme: HTTPS
readinessProbe:
  httpGet:
    scheme: HTTPS
.
.
.

However, we can see that this is not working as expected, as after deployment, i can see that scheme for Liveness/Readiness probes still use HTTP for deployed pod when it should not which cause crashing for this deployed pod. Would you please let us know if it is target state (exporter must not have probes) or it is a bug in helm chart (helm chart not have support for probes)?

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

No branches or pull requests

1 participant