prometheus operator v0.93.1

ScrapeConfig.spec.lightSailSDConfigs.tlsConfig.cert.configMap.spec.openstackSDConfigs

openstackSDConfigs defines a list of OpenStack service discovery configurations.

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

allTenants defines 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 defines the OpenStack applicationCredentialId.

  • minLength: 1
applicationCredentialName
string

applicationCredentialName defines 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.

  • minLength: 1
object

applicationCredentialSecret defines the required field if using an application credential to authenticate.

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

availability defines the availability of the endpoint to connect to.

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

domainID defines The OpenStack domainID.

  • minLength: 1
domainName
string

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

  • minLength: 1
identityEndpoint
string

identityEndpoint defines the HTTP endpoint that is required to work with the Identity API of the appropriate version.

  • pattern: ^https?://.+$
object

password defines the 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

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
projectID
string

projectID defines the OpenStack projectID.

  • minLength: 1
projectName
string

projectName defines an optional field 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.

  • minLength: 1
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)?)$
region
string required

region defines the OpenStack Region.

  • minLength: 1
role
string required

role defines the OpenStack role of entities that should be discovered. Note: The `LoadBalancer` role requires Prometheus >= v3.2.0.

  • enum: ["Instance","Hypervisor","LoadBalancer"]
object

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

userid
string

userid defines the OpenStack userid.

  • minLength: 1
username
string

username defines the username 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

  • minLength: 1