MachineConfigPool [machineconfiguration.alauda.io/v1alpha1]
- Description
- 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).
- Type
object- Required
spec
Specification
.spec
- Description
- MachineConfigPoolSpec is the spec for MachineConfigPool resource.
- Type
object
.spec.configuration
- Description
- The targeted MachineConfig object for the machine config pool.
- Type
object
.spec.configuration.source
- Description
- source is the list of MachineConfig objects that were used to generate the single MachineConfig object specified in `content`.
- Type
array
.spec.configuration.source[]
- Description
- 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 .
- Type
object
.spec.machineConfigSelector
- Description
- machineConfigSelector specifies a label selector for MachineConfigs. Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ on how label and selectors work.
- Type
object
.spec.machineConfigSelector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.spec.machineConfigSelector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.spec.machineConfigSelector.matchExpressions[].values
- Description
- 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.
- Type
array
.spec.machineConfigSelector.matchExpressions[].values[]
- Type
string
.spec.machineConfigSelector.matchLabels
- Description
- 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.
- Type
object
.spec.nodeSelector
- Description
- nodeSelector specifies a label selector for Machines
- Type
object
.spec.nodeSelector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.spec.nodeSelector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.spec.nodeSelector.matchExpressions[].values
- Description
- 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.
- Type
array
.spec.nodeSelector.matchExpressions[].values[]
- Type
string
.spec.nodeSelector.matchLabels
- Description
- 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.
- Type
object
.status
- Description
- MachineConfigPoolStatus is the status for MachineConfigPool resource.
- Type
object
.status.conditions
- Description
- conditions represents the latest available observations of current state.
- Type
array
.status.conditions[]
- Description
- MachineConfigPoolCondition contains condition information for an MachineConfigPool.
- Type
object
.status.configuration
- Description
- configuration represents the current MachineConfig object for the machine config pool.
- Type
object
.status.configuration.source
- Description
- source is the list of MachineConfig objects that were used to generate the single MachineConfig object specified in `content`.
- Type
array
.status.configuration.source[]
- Description
- 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 .
- Type
object
.status.poolSynchronizersStatus
- Description
- poolSynchronizersStatus is the status of the machines managed by the pool synchronizers.
- Type
array
.status.poolSynchronizersStatus[]
- Type
object- Required
availableMachineCountmachineCountpoolSynchronizerTypereadyMachineCountunavailableMachineCountupdatedMachineCount
API Endpoints
The following API endpoints are available:
/kubernetes/{cluster}/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpoolsDELETE: delete collection of MachineConfigPoolGET: list objects of kind MachineConfigPoolPOST: create a new MachineConfigPool
/kubernetes/{cluster}/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
/kubernetes/{cluster}/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
/kubernetes/{cluster}/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools
- HTTP method
DELETE- Description
- delete collection of MachineConfigPool
- HTTP responses
- HTTP method
GET- Description
- list objects of kind MachineConfigPool
- HTTP responses
- HTTP method
POST- Description
- create a new MachineConfigPool
- Query parameters
- Body parameters
- HTTP responses
/kubernetes/{cluster}/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools/{name}
- HTTP method
DELETE- Description
- delete the specified MachineConfigPool
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified MachineConfigPool
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified MachineConfigPool
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified MachineConfigPool
- Query parameters
- Body parameters
- HTTP responses
/kubernetes/{cluster}/apis/machineconfiguration.alauda.io/v1alpha1/machineconfigpools/{name}/status
- HTTP method
GET- Description
- read status of the specified MachineConfigPool
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified MachineConfigPool
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified MachineConfigPool
- Query parameters
- Body parameters
- HTTP responses