prometheus operator v0.93.1

ScrapeConfig.spec.lightSailSDConfigs[].tlsConfig.cert.secret.spec.azureSDConfigs

azureSDConfigs defines a list of Azure service discovery configurations.

19 fields
ScrapeConfig.spec.lightSailSDConfigs[].tlsConfig.cert.secret.spec.azureSDConfigs fields and descriptions
Field / TypeDescription
authenticationMethod
string

authenticationMethod defines the authentication method, either `OAuth` or `ManagedIdentity` or `SDK`. See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview SDK authentication method uses environment variables by default. See https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication

  • enum: ["OAuth","ManagedIdentity","SDK","WorkloadIdentity"]
object

authorization defines the authorization header configuration to authenticate against the target HTTP endpoint. Cannot be set at the same time as `oAuth2`, or `basicAuth`.

object

basicAuth defines the information to authenticate against the target HTTP endpoint. More info: https://prometheus.io/docs/operating/configuration/#endpoints Cannot be set at the same time as `authorization`, or `oAuth2`.

clientID
string

clientID defines client ID. Only required with the OAuth authentication method.

  • minLength: 1
object

clientSecret defines client secret. Only required with the OAuth authentication method.

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

enableHTTP2 defines whether to enable HTTP2.

environment
string

environment defines the Azure environment.

  • minLength: 1
followRedirects
boolean

followRedirects defines whether HTTP requests follow HTTP 3xx redirects.

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.

object

oauth2 defines the configuration to use on every scrape request.

port
integer

port defines the port to scrape metrics from. If using the public IP address, this must instead be specified in the relabeling rule.

  • format: int32
  • minimum: 0
  • maximum: 65535
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)://.+$
refreshInterval
string

refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.

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

resourceGroup defines resource group name. Limits discovery to this resource group. Requires Prometheus v2.35.0 and above

  • minLength: 1
subscriptionID
string required

subscriptionID defines subscription ID. Always required.

  • minLength: 1
tenantID
string

tenantID defines tenant ID. Only required with the OAuth authentication method.

  • minLength: 1
object

tlsConfig defines the TLS configuration applying to the target HTTP endpoint.