Aller au contenu

Override Prometheus container#

When we deploy Prometheus with Prometheus-Operator, we don't necessarily have the possibility of modifying all the specificities of the Prometheus container.

For example we cannot modify the liveness and the readiness probe.

The following code is an example to show how one can modify any specificity of the Prometheus container if it is not supported by Prometheus Operator.

spec:
  containers:
    - name: prometheus
      livenessProbe:
        failureThreshold: 1000
        periodSeconds: 15
        timeoutSeconds: 13
      readinessProbe:
        failureThreshold: 1000
        periodSeconds: 15
        timeoutSeconds: 13