prometheus operator v0.93.1

Prometheus.spec.initContainers[].livenessProbe.httpGet.port.spec.alerting.alertmanagers

alertmanagers endpoints where Prometheus should send alerts to.

19 fields
Prometheus.spec.initContainers[].livenessProbe.httpGet.port.spec.alerting.alertmanagers fields and descriptions
Field / TypeDescription
object[]

alertRelabelings defines the relabeling configs applied before sending alerts to a specific Alertmanager. It requires Prometheus >= v2.51.0.

apiVersion
string

apiVersion defines the version of the Alertmanager API that Prometheus uses to send alerts. It can be "V1" or "V2". The field has no effect for Prometheus >= v3.0.0 because only the v2 API is supported.

  • enum: ["v1","V1","v2","V2"]
object

authorization section for Alertmanager. Cannot be set at the same time as `basicAuth`, `bearerTokenFile` or `sigv4`.

object

basicAuth configuration for Alertmanager. Cannot be set at the same time as `bearerTokenFile`, `authorization` or `sigv4`.

bearerTokenFile
string

bearerTokenFile defines the file to read bearer token for Alertmanager. Cannot be set at the same time as `basicAuth`, `authorization`, or `sigv4`. Deprecated: this will be removed in a future release. Prefer using `authorization`.

enableHttp2
boolean

enableHttp2 defines whether to enable HTTP2.

name
string required

name of the Endpoints object in the namespace.

  • minLength: 1
namespace
string

namespace of the Endpoints object. If not set, the object will be discovered in the namespace of the Prometheus object.

  • minLength: 1
noProxy
string

noProxy defines a comma-separated string that can contain IPs, CIDR notation, domain names that should be excluded from proxying. IP and domain names can contain port numbers. It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

pathPrefix
string

pathPrefix defines the prefix for the HTTP path alerts are pushed to.

  • minLength: 1
integer | string required

port on which the Alertmanager API is exposed.

  • x-kubernetes-int-or-string: true
map[string]object[]

proxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests. It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

  • x-kubernetes-map-type: "atomic"
proxyFromEnvironment
boolean

proxyFromEnvironment defines whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY). It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

proxyUrl
string

proxyUrl defines the HTTP proxy server to use.

  • pattern: ^(http|https|socks5)://.+$
object[]

relabelings defines the relabel configuration applied to the discovered Alertmanagers.

scheme
string

scheme defines the HTTP scheme to use when sending alerts.

  • enum: ["http","https","HTTP","HTTPS"]
object

sigv4 defines AWS's Signature Verification 4 for the URL. It requires Prometheus >= v2.48.0. Cannot be set at the same time as `basicAuth`, `bearerTokenFile` or `authorization`.

  • x-kubernetes-validations: [{"message":"externalId can only be used when roleArn is specified","rule":"!has(self.externalId) || has(self.roleArn)"}]
timeout
string

timeout defines a per-target Alertmanager timeout when pushing alerts.

  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
object

tlsConfig to use for Alertmanager.