- 类型
object
规格
.spec
- 类型
object
.spec.monitorResults
- 描述
- SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
- 类型
object
.spec.monitorResults.targets
- 类型
array
.spec.monitorResults.targets[]
- 类型
object
.spec.monitorResults.targets[].lastErrors
- 类型
array
.spec.monitorResults.targets[].lastErrors[]
- 类型
string
.spec.namespaceSelector
- 描述
- NamespaceSelector to select which namespaces the Endpoints objects are discovered from.
- 类型
object
.spec.namespaceSelector.matchNames
- 描述
- List of namespace names.
- 类型
array
.spec.namespaceSelector.matchNames[]
- 类型
string
.spec.pingurls
- 描述
- A list of urls allowed as part of this ServiceMonitor.
- 类型
array
.spec.pingurls[]
- 类型
object
.spec.pingurls[].params
- 描述
- Optional HTTP URL parameters
- 类型
object
.spec.pingurls[].tlsConfig
- 描述
- TLS configuration to use when scraping the url
- 类型
object
.spec.pingurls[].customErrors
- 描述
- List of custom errors.
- 类型
array
.spec.pingurls[].customErrors[]
- 类型
string
.spec.selector
- 描述
- Selector transfers labels on the Kubernetes Pod onto the target.
- 类型
object
.spec.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.selector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.selector.matchExpressions[].values
- 描述
- 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.
- 类型
array
.spec.selector.matchExpressions[].values[]
- 类型
string
.spec.selector.matchLabels
- 描述
- 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.
- 类型
object
.spec.crds
- 描述
- A list of crds allowed as part of this CaseMonitor.
- 类型
array
.spec.crds[]
- 类型
object- 必填
namegroupkindversionoperator
.spec.crds[].basicAuth
- 描述
- BasicAuth allow an http to authenticate over basic authentication
- 类型
object
.spec.crds[].customErrors
- 描述
- List of custom errors.
- 类型
array
.spec.crds[].customErrors[]
- 类型
string
.status
- 类型
object
API 端点
可用的 API 端点如下:
/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
- HTTP 方法
DELETE- 描述
- delete collection of CaseMonitor
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind CaseMonitor
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new CaseMonitor
- 查询参数
- 请求体参数
- HTTP 响应
/apis/asm.alauda.io/v1beta2/namespaces/{namespace}/casemonitors/{name}
- HTTP 方法
DELETE- 描述
- delete the specified CaseMonitor
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified CaseMonitor
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified CaseMonitor
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified CaseMonitor
- 查询参数
- 请求体参数
- HTTP 响应