- Type
object
Specification
.spec
- Type
object
.spec.monitorResults
- Description
- SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
- Type
object
.spec.monitorResults.targets
- Type
array
.spec.monitorResults.targets[]
- Type
object
.spec.monitorResults.targets[].lastErrors
- Type
array
.spec.monitorResults.targets[].lastErrors[]
- Type
string
.spec.namespaceSelector
- Description
- NamespaceSelector to select which namespaces the Endpoints objects are discovered from.
- Type
object
.spec.namespaceSelector.matchNames
- Description
- List of namespace names.
- Type
array
.spec.namespaceSelector.matchNames[]
- Type
string
.spec.pingurls
- Description
- A list of urls allowed as part of this ServiceMonitor.
- Type
array
.spec.pingurls[]
- Type
object
.spec.pingurls[].params
- Description
- Optional HTTP URL parameters
- Type
object
.spec.pingurls[].tlsConfig
- Description
- TLS configuration to use when scraping the url
- Type
object
.spec.pingurls[].customErrors
- Description
- List of custom errors.
- Type
array
.spec.pingurls[].customErrors[]
- Type
string
.spec.selector
- Description
- Selector transfers labels on the Kubernetes Pod onto the target.
- Type
object
.spec.selector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.spec.selector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.spec.selector.matchExpressions[].values
- Description
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Type
array
.spec.selector.matchExpressions[].values[]
- Type
string
.spec.selector.matchLabels
- Description
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Type
object
.spec.crds
- Description
- A list of crds allowed as part of this CaseMonitor.
- Type
array
.spec.crds[]
- Type
object- Required
namegroupkindversionoperator
.spec.crds[].basicAuth
- Description
- BasicAuth allow an http to authenticate over basic authentication
- Type
object
.spec.crds[].customErrors
- Description
- List of custom errors.
- Type
array
.spec.crds[].customErrors[]
- Type
string
.status
- Type
object
API Endpoints
The following API endpoints are available:
/apis/asm.alauda.io/v1beta2/namespaces/{namespace}/casemonitorsDELETE: delete collection of CaseMonitorGET: list objects of kind CaseMonitorPOST: create a new CaseMonitor
/apis/asm.alauda.io/v1beta2/namespaces/{namespace}/casemonitors/{name}DELETE: delete the specified CaseMonitorGET: read the specified CaseMonitorPATCH: partially update the specified CaseMonitorPUT: replace the specified CaseMonitor
/apis/asm.alauda.io/v1beta2/namespaces/{namespace}/casemonitors/{name}/statusGET: read status of the specified CaseMonitorPATCH: partially update status of the specified CaseMonitorPUT: replace status of the specified CaseMonitor
/apis/asm.alauda.io/v1beta2/namespaces/{namespace}/casemonitors
- HTTP method
DELETE- Description
- delete collection of CaseMonitor
- HTTP responses
- HTTP method
GET- Description
- list objects of kind CaseMonitor
- HTTP responses
- HTTP method
POST- Description
- create a new CaseMonitor
- Query parameters
- Body parameters
- HTTP responses
/apis/asm.alauda.io/v1beta2/namespaces/{namespace}/casemonitors/{name}
- HTTP method
DELETE- Description
- delete the specified CaseMonitor
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified CaseMonitor
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified CaseMonitor
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified CaseMonitor
- Query parameters
- Body parameters
- HTTP responses
/apis/asm.alauda.io/v1beta2/namespaces/{namespace}/casemonitors/{name}/status
- HTTP method
GET- Description
- read status of the specified CaseMonitor
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified CaseMonitor
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified CaseMonitor
- Query parameters
- Body parameters
- HTTP responses