v1

latestOpenAPI 3.0.22026-07-175961673.3 KB
Monitoring

Create monitoring instance

This API creates a new monitoring instance.

A monitoring instance object requires type to be set. Based on the type the respective key with configuration needs to be set. Such as, if type: pmm, then pmm key needs to be provided with a configuration.

post/namespaces/{namespace}/monitoring-instances

Path parameters

namespacestring required

Namespace of the backup storage

Request body

type'pmm' required
urlstring required
allowedNamespacesstring[]

List of namespaces allowed to use this monitoring instance

verifyTLSboolean

VerifyTLS is set to ensure TLS/SSL verification.

namestring required

A user defined string name of the storage in the DNS name format https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names

namespacestring

Example request

{
  "name": "pmm-instance",
  "pmm": {
    "user": "admin",
    "password": "password",
    "apiKey": "apikey"
  }
}

Response

Successful operation

type'pmm'
urlstring
allowedNamespacesstring[]

List of namespaces allowed to use this monitoring instance

verifyTLSboolean

VerifyTLS is set to ensure TLS/SSL verification.

namestring

A user defined string name of the storage in the DNS name format https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names

namespacestring

Example response

{
  "name": "pmm-instance"
}