Operator [operators.operators.coreos.com/v1]
- 描述
- Operator represents a cluster operator.
- 类型
object
规格
.spec
- 描述
- OperatorSpec defines the desired state of Operator
- 类型
object
.status
- 描述
- OperatorStatus defines the observed state of an Operator and its components
- 类型
object
.status.components
- 描述
- Components describes resources that compose the operator.
- 类型
object- 必填
labelSelector
.status.components.labelSelector
- 描述
- LabelSelector is a label query over a set of resources used to select the operator's components
- 类型
object
.status.components.labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.status.components.labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.components.labelSelector.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
.status.components.labelSelector.matchExpressions[].values[]
- 类型
string
.status.components.labelSelector.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
.status.components.refs
- 描述
- Refs are a set of references to the operator's component resources, selected with LabelSelector.
- 类型
array
.status.components.refs[]
- 描述
- RichReference is a reference to a resource, enriched with its status conditions.
- 类型
object
.status.components.refs[].conditions
- 描述
- Conditions represents the latest state of the component.
- 类型
array
.status.components.refs[].conditions[]
- 描述
- Condition represent the latest available observations of an component's state.
- 类型
object- 必填
statustype
API 端点
可用的 API 端点如下:
/kubernetes/{cluster}/apis/operators.coreos.com/v1/operatorsDELETE: delete collection of OperatorGET: list objects of kind OperatorPOST: create a new Operator
/kubernetes/{cluster}/apis/operators.coreos.com/v1/operators/{name}DELETE: delete the specified OperatorGET: read the specified OperatorPATCH: partially update the specified OperatorPUT: replace the specified Operator
/kubernetes/{cluster}/apis/operators.coreos.com/v1/operators/{name}/statusGET: read status of the specified OperatorPATCH: partially update status of the specified OperatorPUT: replace status of the specified Operator
/kubernetes/{cluster}/apis/operators.coreos.com/v1/operators
- HTTP 方法
DELETE- 描述
- delete collection of Operator
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind Operator
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new Operator
- 查询参数
- 请求体参数
- HTTP 响应
/kubernetes/{cluster}/apis/operators.coreos.com/v1/operators/{name}
- HTTP 方法
DELETE- 描述
- delete the specified Operator
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified Operator
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified Operator
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified Operator
- 查询参数
- 请求体参数
- HTTP 响应
/kubernetes/{cluster}/apis/operators.coreos.com/v1/operators/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified Operator
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified Operator
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified Operator
- 查询参数
- 请求体参数
- HTTP 响应