Most recent observed status of the Alertmanager cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

AlertmanagerSpec

Specification of the desired behavior of the Alertmanager cluster. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

Field

Description

Scheme

Required

version

Version the cluster should be on.

string

false

baseImage

Base image that is used to deploy pods.

string

false

imagePullSecrets

An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod

The external URL the Alertmanager instances will be available under. This is necessary to generate correct URLs. This is necessary if Alertmanager is not served from root of a DNS name.

string

false

routePrefix

The route prefix Alertmanager registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with kubectl proxy.

string

false

paused

If set to true all actions on the underlaying managed objects are not goint to be performed, except for delete actions.

AlertmanagerStatus

Most recent observed status of the Alertmanager cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

Field

Description

Scheme

Required

paused

Represents whether any actions on the underlaying managed objects are being performed. Only delete actions will be performed.

bool

true

replicas

Total number of non-terminated pods targeted by this Alertmanager cluster (their labels match the selector).

int32

true

updatedReplicas

Total number of non-terminated pods targeted by this Alertmanager cluster that have the desired version spec.

int32

true

availableReplicas

Total number of available pods (ready for at least minReadySeconds) targeted by this Alertmanager cluster.

int32

true

unavailableReplicas

Total number of unavailable pods targeted by this Alertmanager cluster.

int32

true

BasicAuth

BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints

Most recent observed status of the Prometheus cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

When a Prometheus deployment is paused, no actions except for deletion will be performed on the underlying objects.

bool

false

baseImage

Base image to use for a Prometheus deployment.

string

false

imagePullSecrets

An optional list of references to secrets in the same namespace to use for pulling prometheus and alertmanager images from registries see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod

The labels to add to any time series or alerts when communicating with external systems (federation, remote storage, Alertmanager).

map[string]string

false

externalUrl

The external URL the Prometheus instances will be available under. This is necessary to generate correct URLs. This is necessary if Prometheus is not served from root of a DNS name.

string

false

routePrefix

The route prefix Prometheus registers HTTP handlers for. This is useful, if using ExternalURL and a proxy is rewriting HTTP routes of a request, and the actual ExternalURL is still true, but the server serves requests under a different route prefix. For example for use with kubectl proxy.

ServiceAccountName is the name of the ServiceAccount to use to run the Prometheus Pods.

string

false

secrets

Secrets is a list of Secrets in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods. The Secrets are mounted into /etc/prometheus/secrets/. Secrets changes after initial creation of a Prometheus object are not reflected in the running Pods. To change the secrets mounted into the Prometheus Pods, the object must be deleted and recreated with the new list of secrets.

[]string

false

PrometheusStatus

Most recent observed status of the Prometheus cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

Field

Description

Scheme

Required

paused

Represents whether any actions on the underlaying managed objects are being performed. Only delete actions will be performed.

bool

true

replicas

Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).

int32

true

updatedReplicas

Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.

int32

true

availableReplicas

Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.

int32

true

unavailableReplicas

Total number of unavailable pods targeted by this Prometheus deployment.