SSHMachine [infrastructure.cluster.x-k8s.io/v1beta1]
- 描述
- SSHMachine is the Schema for the sshmachines API.
- 类型
object
规格
.spec
- 描述
- SSHMachineSpec defines the desired state of SSHMachine.
- 类型
object
.spec.containerRuntime
- 类型
object- 必填
typeversion
.spec.hostLabelSelector
- 描述
- A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
- 类型
object
.spec.hostLabelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.hostLabelSelector.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.hostLabelSelector.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.hostLabelSelector.matchExpressions[].values[]
- 类型
string
.spec.hostLabelSelector.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.hostReference
- 描述
- LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
- 类型
object
.status
- 描述
- SSHMachineStatus defines the observed state of SSHMachine.
- 类型
object
.status.addresses
- 类型
array
.status.addresses[]
- 描述
- MachineAddress contains information for the node's address.
- 类型
object- 必填
addresstype
.status.conditions
- 描述
- Conditions provide observations of the operational state of a Cluster API resource.
- 类型
array
.status.conditions[]
- 描述
- Condition defines an observation of a Cluster API resource operational state.
- 类型
object- 必填
lastTransitionTimestatustype
.status.hostReference
- 描述
- ObjectReference contains enough information to let you inspect or modify the referred object.
- 类型
object
API 端点
可用的 API 端点如下:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/sshmachinesDELETE: delete collection of SSHMachineGET: list objects of kind SSHMachinePOST: create a new SSHMachine
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/sshmachines/{name}DELETE: delete the specified SSHMachineGET: read the specified SSHMachinePATCH: partially update the specified SSHMachinePUT: replace the specified SSHMachine
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/sshmachines/{name}/statusGET: read status of the specified SSHMachinePATCH: partially update status of the specified SSHMachinePUT: replace status of the specified SSHMachine
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/sshmachines
- HTTP 方法
DELETE- 描述
- delete collection of SSHMachine
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind SSHMachine
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new SSHMachine
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/sshmachines/{name}
- HTTP 方法
DELETE- 描述
- delete the specified SSHMachine
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified SSHMachine
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified SSHMachine
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified SSHMachine
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/sshmachines/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified SSHMachine
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified SSHMachine
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified SSHMachine
- 查询参数
- 请求体参数
- HTTP 响应