OperatorCondition [operators.coreos.com/v1]
- 描述
- OperatorCondition is a Custom Resource of type `OperatorCondition` which is used to convey information to OLM about the state of an operator.
- 类型
object- 必填
metadata
规格
.spec
- 描述
- OperatorConditionSpec allows an operator to report state to OLM and provides cluster admin with the ability to manually override state reported by the operator.
- 类型
object
.spec.conditions
- 类型
array
.spec.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields }
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
.spec.deployments
- 类型
array
.spec.deployments[]
- 类型
string
.spec.overrides
- 类型
array
.spec.overrides[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields }
- 类型
object- 必填
messagereasonstatustype
.spec.serviceAccounts
- 类型
array
.spec.serviceAccounts[]
- 类型
string
.status
- 描述
- OperatorConditionStatus allows OLM to convey which conditions have been observed.
- 类型
object
.status.conditions
- 类型
array
.status.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields }
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
API 端点
可用的 API 端点如下:
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditionsDELETE: delete collection of OperatorConditionGET: list objects of kind OperatorConditionPOST: create a new OperatorCondition
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}DELETE: delete the specified OperatorConditionGET: read the specified OperatorConditionPATCH: partially update the specified OperatorConditionPUT: replace the specified OperatorCondition
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}/statusGET: read status of the specified OperatorConditionPATCH: partially update status of the specified OperatorConditionPUT: replace status of the specified OperatorCondition
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions
- HTTP 方法
DELETE- 描述
- delete collection of OperatorCondition
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind OperatorCondition
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new OperatorCondition
- 查询参数
- 请求体参数
- HTTP 响应
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}
- HTTP 方法
DELETE- 描述
- delete the specified OperatorCondition
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified OperatorCondition
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified OperatorCondition
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified OperatorCondition
- 查询参数
- 请求体参数
- HTTP 响应
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified OperatorCondition
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified OperatorCondition
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified OperatorCondition
- 查询参数
- 请求体参数
- HTTP 响应