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

feat: Use command probe for increased accuracy (#344) #359

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions charts/pihole/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,38 +167,38 @@ probes:
# -- probes.liveness -- Configure the healthcheck for the ingress controller
liveness:
# -- Generate a liveness probe
# 'type' defaults to httpGet, can be set to 'command' to use a command type liveness probe.
type: httpGet
# command:
# - /bin/bash
# - -c
# - /bin/true
# 'type' defaults to command, can be set to 'httpGet' to use a HTTP GET type liveness probe.
type: command
command:
- /bin/sh
- -c
- "curl --silent http://localhost/api/info/login | jq 'if (.dns | not) then halt_error(1) end'"
enabled: true
# -- wait time before trying the liveness probe
initialDelaySeconds: 60
# -- threshold until the probe is considered failing
failureThreshold: 10
# -- timeout in seconds
timeoutSeconds: 5
port: http
scheme: HTTP
# port: http
# scheme: HTTP
readiness:
# -- Generate a readiness probe
# 'type' defaults to httpGet, can be set to 'command' to use a command type readiness probe.
type: httpGet
# command:
# - /bin/bash
# - -c
# - /bin/true
# 'type' defaults to command, can be set to 'httpGet' to use a HTTP GET type readiness probe.
type: command
command:
- /bin/sh
- -c
- "curl --silent http://localhost/api/info/login | jq 'if (.dns | not) then halt_error(1) end'"
enabled: true
# -- wait time before trying the readiness probe
initialDelaySeconds: 60
# -- threshold until the probe is considered failing
failureThreshold: 10
# -- timeout in seconds
timeoutSeconds: 5
port: http
scheme: HTTP
# port: http
# scheme: HTTP

# -- We usually recommend not to specify default resources and to leave this as a conscious
# -- choice for the user. This also increases chances charts run on environments with little
Expand Down