prometheus operator v0.71.2

ScrapeConfig.spec.kubernetesSDConfigs[].tlsConfig.cert.configMap.spec.openstackSDConfigs

OpenStackSDConfigs defines a list of OpenStack service discovery configurations.

18 fields
ScrapeConfig.spec.kubernetesSDConfigs[].tlsConfig.cert.configMap.spec.openstackSDConfigs fields and descriptions
Field / TypeDescription
allTenants
boolean

Whether the service discovery should list all instances for all projects. It is only relevant for the 'instance' role and usually requires admin permissions.

applicationCredentialId
string

ApplicationCredentialID

applicationCredentialName
string

The ApplicationCredentialID or ApplicationCredentialName fields are required if using an application credential to authenticate. Some providers allow you to create an application credential to authenticate rather than a password.

object

The applicationCredentialSecret field is required if using an application credential to authenticate.

  • x-kubernetes-map-type: "atomic"
availability
string

Availability of the endpoint to connect to.

  • enum: ["Public","public","Admin","admin","Internal","internal"]
domainID
string

DomainID

domainName
string

At most one of domainId and domainName must be provided if using username with Identity V3. Otherwise, either are optional.

identityEndpoint
string

IdentityEndpoint specifies the HTTP endpoint that is required to work with the Identity API of the appropriate version.

object

Password for the Identity V2 and V3 APIs. Consult with your provider's control panel to discover your account's preferred method of authentication.

  • x-kubernetes-map-type: "atomic"
port
integer

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

projectID
string

ProjectID

projectName
string

The ProjectId and ProjectName fields are optional for the Identity V2 API. Some providers allow you to specify a ProjectName instead of the ProjectId. Some require both. Your provider's authentication policies will determine how these fields influence authentication.

refreshInterval
string

Refresh interval to re-read the instance list.

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

The OpenStack Region.

  • minLength: 1
role
string required

The OpenStack role of entities that should be discovered.

  • enum: ["Instance","instance","Hypervisor","hypervisor"]
object

TLS configuration applying to the target HTTP endpoint.

userid
string

UserID

username
string

Username is required if using Identity V2 API. Consult with your provider's control panel to discover your account's username. In Identity V3, either userid or a combination of username and domainId or domainName are needed