MachineConfigPool [machineconfiguration.alauda.io/v1alpha1]
- 描述
- MachineConfigPool describes a pool of MachineConfigs. Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- 类型
object- 必填
spec
规格
.spec
- 描述
- MachineConfigPoolSpec is the spec for MachineConfigPool resource.
- 类型
object
.spec.configuration
- 描述
- The targeted MachineConfig object for the machine config pool.
- 类型
object
.spec.configuration.source
- 描述
- source is the list of MachineConfig objects that were used to generate the single MachineConfig object specified in `content`.
- 类型
array
.spec.configuration.source[]
- 描述
- ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 .
- 类型
object
.spec.machineConfigSelector
- 描述
- machineConfigSelector specifies a label selector for MachineConfigs. Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ on how label and selectors work.
- 类型
object
.spec.machineConfigSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.machineConfigSelector.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.machineConfigSelector.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.machineConfigSelector.matchExpressions[].values[]
- 类型
string
.spec.machineConfigSelector.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.nodeSelector
- 描述
- nodeSelector specifies a label selector for Machines
- 类型
object
.spec.nodeSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.nodeSelector.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.nodeSelector.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.nodeSelector.matchExpressions[].values[]
- 类型
string
.spec.nodeSelector.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
- 描述
- MachineConfigPoolStatus is the status for MachineConfigPool resource.
- 类型
object
.status.conditions
- 描述
- conditions represents the latest available observations of current state.
- 类型
array
.status.conditions[]
- 描述
- MachineConfigPoolCondition contains condition information for an MachineConfigPool.
- 类型
object
.status.configuration
- 描述
- configuration represents the current MachineConfig object for the machine config pool.
- 类型
object
.status.configuration.source
- 描述
- source is the list of MachineConfig objects that were used to generate the single MachineConfig object specified in `content`.
- 类型
array
.status.configuration.source[]
- 描述
- ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 .
- 类型
object
.status.poolSynchronizersStatus
- 描述
- poolSynchronizersStatus is the status of the machines managed by the pool synchronizers.
- 类型
array
.status.poolSynchronizersStatus[]
- 类型
object- 必填
availableMachineCountmachineCountpoolSynchronizerTypereadyMachineCountunavailableMachineCountupdatedMachineCount
API 端点
可用的 API 端点如下:
/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpoolsDELETE: delete collection of MachineConfigPoolGET: list objects of kind MachineConfigPoolPOST: create a new MachineConfigPool
/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools/{name}DELETE: delete the specified MachineConfigPoolGET: read the specified MachineConfigPoolPATCH: partially update the specified MachineConfigPoolPUT: replace the specified MachineConfigPool
/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools/{name}/statusGET: read status of the specified MachineConfigPoolPATCH: partially update status of the specified MachineConfigPoolPUT: replace status of the specified MachineConfigPool
/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools
- HTTP 方法
DELETE- 描述
- delete collection of MachineConfigPool
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind MachineConfigPool
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new MachineConfigPool
- 查询参数
- 请求体参数
- HTTP 响应
/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools/{name}
- HTTP 方法
DELETE- 描述
- delete the specified MachineConfigPool
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified MachineConfigPool
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified MachineConfigPool
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified MachineConfigPool
- 查询参数
- 请求体参数
- HTTP 响应
/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified MachineConfigPool
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified MachineConfigPool
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified MachineConfigPool
- 查询参数
- 请求体参数
- HTTP 响应