Skip to main content

webhookController.healthProbes

The webhookController.healthProbes defines how some of the health probes properties should be set.

info
webhookController:
healthProbes:
readinessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 3
timeoutSeconds: 2

livenessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 3
timeoutSeconds: 2

The basic fields that can be set are:

  • webhookController.healthProbes.readinessProbe.enabled: Enables or disables the readiness probe for the webhook. When enabled, the API server checks if the webhook is ready to serve traffic.

  • webhookController.healthProbes.readinessProbe.failureThreshold: The number of consecutive probe failures that must occur before the webhook is considered unready.

  • webhookController.healthProbes.readinessProbe.initialDelaySeconds: The number of seconds after the container starts before the readiness probe is initiated.

  • webhookController.healthProbes.readinessProbe.periodSeconds: How often (in seconds) the readiness probe is performed.

  • webhookController.healthProbes.readinessProbe.timeoutSeconds: The number of seconds after which the readiness probe times out if no response is received.

  • webhookController.healthProbes.livenessProbe.enabled: Enables or disables the liveness probe for the webhook. When enabled, the API server checks if the webhook is still alive and functioning.

  • webhookController.healthProbes.livenessProbe.failureThreshold: The number of consecutive probe failures that must occur before the webhook is considered unhealthy and restarted.

  • webhookController.healthProbes.livenessProbe.initialDelaySeconds: The number of seconds after the container starts before the liveness probe is initiated.

  • webhookController.healthProbes.livenessProbe.periodSeconds: How often (in seconds) the liveness probe is performed.

  • webhookController.healthProbes.livenessProbe.timeoutSeconds: The number of seconds after which the liveness probe times out if no response is received.