-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Feature]: Add readiness/liveness probes for components of the icinga-stack chart #3
Comments
icinga2 chartRegarding the It could look something like this: readinessProbe:
failureThreshold: 3
httpGet:
scheme: HTTPS
path: /v1
port: {{ .Values.service.port }}
httpHeaders:
- name: Authorization
value: Basic {{ printf "%s:%s" "icingaweb" .Values.global.api.users.icingaweb.password | b64enc }} For the icingaweb2 chartI've already noticed a problem regarding this chart. Simply checking the base URL of that container does not work (using an
Within a probe we also can't do an equivalent of This means that we can't authenticate against its main page. We could however try to check for static images such as Possible example: readinessProbe:
failureThreshold: 3
httpGet:
scheme: HTTP
path: /img/favicon.png
port: {{ .Values.service.port }} Also, would probes in charts/icinga-stack/templates/internal-databases.yaml be usefull? |
Regarding Regarding Regarding We'd need to invoke this properly for our use case. Feel free to take a look at the linked script and write an draft an |
Affected Chart
icinga-stack
Please describe your feature request
We should introduce proper health checks for components of the
icinga-stack
chart.For Icinga2, we could hit the API at
https://<host>:<api-port>/v1
, once we receive a401 Unauthorized
, Icinga2 and its API should be up and running (there's no health endpoint, unfortunately).For Icingaweb2, we could just hit the webpage.
Director and IcingaDB remain to be evaluated.
The text was updated successfully, but these errors were encountered: