Default probe behavior
You can use the following structure to define your probes in yourvalues.yaml file. For example, you might want to adjust any default values by configuring the amount of time until a timeout.
You can add any definitions that are compatible with Kubernetes probes.
Liveness probe template
Readiness probe template
Retrieve existing probe definitions
You can retrieve the default probe definitions from the Kubernetes manifest. The following example shows how to retrieve the definitions for Houston.livenessProbe, which looks like the following:
values.yaml file for your Houston configuration, then adjust the values you want to customize. Then apply a platform config change.
Reference Helm values within your probes
Because values for the liveness and readiness probes are passed through the Helm template function, you can reference Helm values within the probes. Specifically, thelivenessProbe and readiness values are rendered to yaml, then passed through the Helm template function, which renders any Helm template syntaxes into the produced yaml.
For example, instead of hardcoding values for your probes to match values defined by other configurations in your values.yaml file, you can use the configuration variable itself.
The following example, using the alertsmanager yaml configuration, shows how the path and ports are defined by Values.ports.http and Values.prefixURL elsewhere in the values.yaml file.