- ControlPlaneMachineSet [machine.openshift.io/v1]
- Specification
- .spec
- .spec.selector
- .spec.selector.matchExpressions
- .spec.selector.matchExpressions[]
- .spec.strategy
- .spec.template
- .spec.template.machines_v1beta1_machine_openshift_io
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[]
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].placement
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].subnet
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].subnet.filters
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].subnet.filters[]
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.azure
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.azure[]
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.gcp
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.gcp[]
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.openstack
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.openstack[]
- .spec.template.machines_v1beta1_machine_openshift_io.failureDomains.openstack[].rootVolume
- .spec.template.machines_v1beta1_machine_openshift_io.metadata
- .spec.template.machines_v1beta1_machine_openshift_io.spec
- .spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks
- .spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preDrain
- .spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preDrain[]
- .spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preTerminate
- .spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preTerminate[]
- .spec.template.machines_v1beta1_machine_openshift_io.spec.metadata
- .spec.template.machines_v1beta1_machine_openshift_io.spec.metadata.ownerReferences
- .spec.template.machines_v1beta1_machine_openshift_io.spec.metadata.ownerReferences[]
- .spec.template.machines_v1beta1_machine_openshift_io.spec.providerSpec
- .spec.template.machines_v1beta1_machine_openshift_io.spec.taints
- .spec.template.machines_v1beta1_machine_openshift_io.spec.taints[]
- .status
- .status.conditions
- .status.conditions[]
- API endpoints
- /apis/machine.openshift.io/v1/controlplanemachinesets
- /apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets
- /apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}
- /apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}/scale
- /apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}/status
- Specification
ControlPlaneMachineSet [machine.openshift.io/v1]
Description
ControlPlaneMachineSet ensures that a specified number of control plane machine replicas are running at any given time. Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
Type
object
Specification
Property | Type | Description |
---|---|---|
|
| APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
| Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | |
|
| ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet. |
|
| ControlPlaneMachineSetStatus represents the status of the ControlPlaneMachineSet CRD. |
.spec
Description
ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
Type
object
Required
replicas
selector
template
Property | Type | Description |
---|---|---|
|
| Replicas defines how many Control Plane Machines should be created by this ControlPlaneMachineSet. This field is immutable and cannot be changed after cluster installation. The ControlPlaneMachineSet only operates with 3 or 5 node control planes, 3 and 5 are the only valid values for this field. |
|
| Label selector for Machines. Existing Machines selected by this selector will be the ones affected by this ControlPlaneMachineSet. It must match the template’s labels. This field is considered immutable after creation of the resource. |
|
| State defines whether the ControlPlaneMachineSet is Active or Inactive. When Inactive, the ControlPlaneMachineSet will not take any action on the state of the Machines within the cluster. When Active, the ControlPlaneMachineSet will reconcile the Machines and will update the Machines as necessary. Once Active, a ControlPlaneMachineSet cannot be made Inactive. To prevent further action please remove the ControlPlaneMachineSet. |
|
| Strategy defines how the ControlPlaneMachineSet will update Machines when it detects a change to the ProviderSpec. |
|
| Template describes the Control Plane Machines that will be created by this ControlPlaneMachineSet. |
.spec.selector
Description
Label selector for Machines. Existing Machines selected by this selector will be the ones affected by this ControlPlaneMachineSet. It must match the template’s labels. This field is considered immutable after creation of the resource.
Type
object
Property | Type | Description |
---|---|---|
|
| matchExpressions is a list of label selector requirements. The requirements are ANDed. |
|
| A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. |
|
| 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. |
.spec.selector.matchExpressions
Description
matchExpressions is a list of label selector requirements. The requirements are ANDed.
Type
array
.spec.selector.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
key
operator
Property | Type | Description |
---|---|---|
|
| key is the label key that the selector applies to. |
|
| operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. |
|
| 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. |
.spec.strategy
Description
Strategy defines how the ControlPlaneMachineSet will update Machines when it detects a change to the ProviderSpec.
Type
object
Property | Type | Description |
---|---|---|
|
| Type defines the type of update strategy that should be used when updating Machines owned by the ControlPlaneMachineSet. Valid values are “RollingUpdate” and “OnDelete”. The current default value is “RollingUpdate”. |
.spec.template
Description
Template describes the Control Plane Machines that will be created by this ControlPlaneMachineSet.
Type
object
Required
machineType
Property | Type | Description |
---|---|---|
|
| MachineType determines the type of Machines that should be managed by the ControlPlaneMachineSet. Currently, the only valid value is machines_v1beta1_machine_openshift_io. |
|
| OpenShiftMachineV1Beta1Machine defines the template for creating Machines from the v1beta1.machine.openshift.io API group. |
.spec.template.machines_v1beta1_machine_openshift_io
Description
OpenShiftMachineV1Beta1Machine defines the template for creating Machines from the v1beta1.machine.openshift.io API group.
Type
object
Required
metadata
spec
Property | Type | Description |
---|---|---|
|
| FailureDomains is the list of failure domains (sometimes called availability zones) in which the ControlPlaneMachineSet should balance the Control Plane Machines. This will be merged into the ProviderSpec given in the template. This field is optional on platforms that do not require placement information. |
|
| ObjectMeta is the standard object metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Labels are required to match the ControlPlaneMachineSet selector. |
|
| Spec contains the desired configuration of the Control Plane Machines. The ProviderSpec within contains platform specific details for creating the Control Plane Machines. The ProviderSe should be complete apart from the platform specific failure domain field. This will be overriden when the Machines are created based on the FailureDomains field. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains
Description
FailureDomains is the list of failure domains (sometimes called availability zones) in which the ControlPlaneMachineSet should balance the Control Plane Machines. This will be merged into the ProviderSpec given in the template. This field is optional on platforms that do not require placement information.
Type
object
Required
platform
Property | Type | Description |
---|---|---|
|
| AWS configures failure domain information for the AWS platform. |
|
| AWSFailureDomain configures failure domain information for the AWS platform. |
|
| Azure configures failure domain information for the Azure platform. |
|
| AzureFailureDomain configures failure domain information for the Azure platform. |
|
| GCP configures failure domain information for the GCP platform. |
|
| GCPFailureDomain configures failure domain information for the GCP platform |
|
| Platform identifies the platform for which the FailureDomain represents. Currently supported values are AWS, Azure, and GCP. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws
Description
AWS configures failure domain information for the AWS platform.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[]
Description
AWSFailureDomain configures failure domain information for the AWS platform.
Type
object
Property | Type | Description |
---|---|---|
|
| Placement configures the placement information for this instance. |
|
| Subnet is a reference to the subnet to use for this instance. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].placement
Description
Placement configures the placement information for this instance.
Type
object
Required
availabilityZone
Property | Type | Description |
---|---|---|
|
| AvailabilityZone is the availability zone of the instance. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].subnet
Description
Subnet is a reference to the subnet to use for this instance.
Type
object
Required
type
Property | Type | Description |
---|---|---|
|
| ARN of resource. |
|
| Filters is a set of filters used to identify a resource. |
|
| AWSResourceFilter is a filter used to identify an AWS resource |
|
| ID of resource. |
|
| Type determines how the reference will fetch the AWS resource. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].subnet.filters
Description
Filters is a set of filters used to identify a resource.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.aws[].subnet.filters[]
Description
AWSResourceFilter is a filter used to identify an AWS resource
Type
object
Required
name
Property | Type | Description |
---|---|---|
|
| Name of the filter. Filter names are case-sensitive. |
|
| Values includes one or more filter values. Filter values are case-sensitive. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.azure
Description
Azure configures failure domain information for the Azure platform.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.azure[]
Description
AzureFailureDomain configures failure domain information for the Azure platform.
Type
object
Required
zone
Property | Type | Description |
---|---|---|
|
| Availability Zone for the virtual machine. If nil, the virtual machine should be deployed to no zone. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.gcp
Description
GCP configures failure domain information for the GCP platform.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.gcp[]
Description
GCPFailureDomain configures failure domain information for the GCP platform
Type
object
Required
zone
Property | Type | Description |
---|---|---|
|
| Zone is the zone in which the GCP machine provider will create the VM. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.openstack
Description
OpenStack configures failure domain information for the OpenStack platform.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.openstack[]
Description
OpenStackFailureDomain configures failure domain information for the OpenStack platform.
Type
object
Property | Type | Description |
---|---|---|
|
| availabilityZone is the nova availability zone in which the OpenStack machine provider will create the VM. If not specified, the VM will be created in the default availability zone specified in the nova configuration. Availability zone names must NOT contain : since it is used by admin users to specify hosts where instances are launched in server creation. Also, it must not contain spaces otherwise it will lead to node that belongs to this availability zone register failure, see kubernetes/cloud-provider-openstack#1379 for further information. The maximum length of availability zone name is 63 as per labels limits. |
|
| rootVolume contains settings that will be used by the OpenStack machine provider to create the root volume attached to the VM. If not specified, no root volume will be created. |
.spec.template.machines_v1beta1_machine_openshift_io.failureDomains.openstack[].rootVolume
Description
rootVolume contains settings that will be used by the OpenStack machine provider to create the root volume attached to the VM. If not specified, no root volume will be created.
Type
object
Required
volumeType
Property | Type | Description |
---|---|---|
|
| availabilityZone specifies the Cinder availability zone where the root volume will be created. If not specifified, the root volume will be created in the availability zone specified by the volume type in the cinder configuration. If the volume type (configured in the OpenStack cluster) does not specify an availability zone, the root volume will be created in the default availability zone specified in the cinder configuration. See https://docs.openstack.org/cinder/latest/admin/availability-zone-type.html for more details. If the OpenStack cluster is deployed with the cross_az_attach configuration option set to false, the root volume will have to be in the same availability zone as the VM (defined by OpenStackFailureDomain.AvailabilityZone). Availability zone names must NOT contain spaces otherwise it will lead to volume that belongs to this availability zone register failure, see kubernetes/cloud-provider-openstack#1379 for further information. The maximum length of availability zone name is 63 as per labels limits. |
|
| volumeType specifies the type of the root volume that will be provisioned. The maximum length of a volume type name is 255 characters, as per the OpenStack limit. |
.spec.template.machines_v1beta1_machine_openshift_io.metadata
Description
ObjectMeta is the standard object metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Labels are required to match the ControlPlaneMachineSet selector.
Type
object
Required
labels
Property | Type | Description |
---|---|---|
|
| Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations |
|
| Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels. This field must contain both the ‘machine.openshift.io/cluster-api-machine-role’ and ‘machine.openshift.io/cluster-api-machine-type’ labels, both with a value of ‘master’. It must also contain a label with the key ‘machine.openshift.io/cluster-api-cluster’. |
.spec.template.machines_v1beta1_machine_openshift_io.spec
Description
Spec contains the desired configuration of the Control Plane Machines. The ProviderSpec within contains platform specific details for creating the Control Plane Machines. The ProviderSe should be complete apart from the platform specific failure domain field. This will be overriden when the Machines are created based on the FailureDomains field.
Type
object
Property | Type | Description |
---|---|---|
|
| LifecycleHooks allow users to pause operations on the machine at certain predefined points within the machine lifecycle. |
|
| ObjectMeta will autopopulate the Node created. Use this to indicate what labels, annotations, name prefix, etc., should be used when creating the Node. |
|
| ProviderID is the identification ID of the machine provided by the provider. This field must match the provider ID as seen on the node object corresponding to this machine. This field is required by higher level consumers of cluster-api. Example use case is cluster autoscaler with cluster-api as provider. Clean-up logic in the autoscaler compares machines to nodes to find out machines at provider which could not get registered as Kubernetes nodes. With cluster-api as a generic out-of-tree provider for autoscaler, this field is required by autoscaler to be able to have a provider view of the list of machines. Another list of nodes is queried from the k8s apiserver and then a comparison is done to find out unregistered machines and are marked for delete. This field will be set by the actuators and consumed by higher level entities like autoscaler that will be interfacing with cluster-api as generic provider. |
|
| ProviderSpec details Provider-specific configuration to use during node creation. |
|
| The list of the taints to be applied to the corresponding Node in additive manner. This list will not overwrite any other taints added to the Node on an ongoing basis by other entities. These taints should be actively reconciled e.g. if you ask the machine controller to apply a taint and then manually remove the taint the machine controller will put it back) but not have the machine controller remove any taints |
|
| The node this Taint is attached to has the “effect” on any pod that does not tolerate the Taint. |
.spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks
Description
LifecycleHooks allow users to pause operations on the machine at certain predefined points within the machine lifecycle.
Type
object
Property | Type | Description |
---|---|---|
|
| PreDrain hooks prevent the machine from being drained. This also blocks further lifecycle events, such as termination. |
|
| LifecycleHook represents a single instance of a lifecycle hook |
|
| PreTerminate hooks prevent the machine from being terminated. PreTerminate hooks be actioned after the Machine has been drained. |
|
| LifecycleHook represents a single instance of a lifecycle hook |
.spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preDrain
Description
PreDrain hooks prevent the machine from being drained. This also blocks further lifecycle events, such as termination.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preDrain[]
Description
LifecycleHook represents a single instance of a lifecycle hook
Type
object
Required
name
owner
Property | Type | Description |
---|---|---|
|
| Name defines a unique name for the lifcycle hook. The name should be unique and descriptive, ideally 1-3 words, in CamelCase or it may be namespaced, eg. foo.example.com/CamelCase. Names must be unique and should only be managed by a single entity. |
|
| Owner defines the owner of the lifecycle hook. This should be descriptive enough so that users can identify who/what is responsible for blocking the lifecycle. This could be the name of a controller (e.g. clusteroperator/etcd) or an administrator managing the hook. |
.spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preTerminate
Description
PreTerminate hooks prevent the machine from being terminated. PreTerminate hooks be actioned after the Machine has been drained.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.spec.lifecycleHooks.preTerminate[]
Description
LifecycleHook represents a single instance of a lifecycle hook
Type
object
Required
name
owner
Property | Type | Description |
---|---|---|
|
| Name defines a unique name for the lifcycle hook. The name should be unique and descriptive, ideally 1-3 words, in CamelCase or it may be namespaced, eg. foo.example.com/CamelCase. Names must be unique and should only be managed by a single entity. |
|
| Owner defines the owner of the lifecycle hook. This should be descriptive enough so that users can identify who/what is responsible for blocking the lifecycle. This could be the name of a controller (e.g. clusteroperator/etcd) or an administrator managing the hook. |
.spec.template.machines_v1beta1_machine_openshift_io.spec.metadata
Description
ObjectMeta will autopopulate the Node created. Use this to indicate what labels, annotations, name prefix, etc., should be used when creating the Node.
Type
object
Property | Type | Description |
---|---|---|
|
| Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations |
|
| GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency |
|
| Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels |
|
| Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names |
|
| Namespace defines the space within each name must be unique. An empty namespace is equivalent to the “default” namespace, but “default” is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces |
|
| List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. |
|
| OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. |
.spec.template.machines_v1beta1_machine_openshift_io.spec.metadata.ownerReferences
Description
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.spec.metadata.ownerReferences[]
Description
OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
Type
object
Required
apiVersion
kind
name
uid
Property | Type | Description |
---|---|---|
|
| API version of the referent. |
|
| If true, AND if the owner has the “foregroundDeletion” finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs “delete” permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. |
|
| If true, this reference points to the managing controller. |
|
| Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
|
| Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names |
|
| UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
.spec.template.machines_v1beta1_machine_openshift_io.spec.providerSpec
Description
ProviderSpec details Provider-specific configuration to use during node creation.
Type
object
Property | Type | Description |
---|---|---|
| `` | Value is an inlined, serialized representation of the resource configuration. It is recommended that providers maintain their own versioned API types that should be serialized/deserialized from this field, akin to component config. |
.spec.template.machines_v1beta1_machine_openshift_io.spec.taints
Description
The list of the taints to be applied to the corresponding Node in additive manner. This list will not overwrite any other taints added to the Node on an ongoing basis by other entities. These taints should be actively reconciled e.g. if you ask the machine controller to apply a taint and then manually remove the taint the machine controller will put it back) but not have the machine controller remove any taints
Type
array
.spec.template.machines_v1beta1_machine_openshift_io.spec.taints[]
Description
The node this Taint is attached to has the “effect” on any pod that does not tolerate the Taint.
Type
object
Required
effect
key
Property | Type | Description |
---|---|---|
|
| Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. |
|
| Required. The taint key to be applied to a node. |
|
| TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. |
|
| The taint value corresponding to the taint key. |
.status
Description
ControlPlaneMachineSetStatus represents the status of the ControlPlaneMachineSet CRD.
Type
object
Property | Type | Description |
---|---|---|
|
| Conditions represents the observations of the ControlPlaneMachineSet’s current state. Known .status.conditions.type are: Available, Degraded and Progressing. |
|
| 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 |
|
| ObservedGeneration is the most recent generation observed for this ControlPlaneMachineSet. It corresponds to the ControlPlaneMachineSets’s generation, which is updated on mutation by the API Server. |
|
| ReadyReplicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller which are ready. Note that this value may be higher than the desired number of replicas while rolling updates are in-progress. |
|
| Replicas is the number of Control Plane Machines created by the ControlPlaneMachineSet controller. Note that during update operations this value may differ from the desired replica count. |
|
| UnavailableReplicas is the number of Control Plane Machines that are still required before the ControlPlaneMachineSet reaches the desired available capacity. When this value is non-zero, the number of ReadyReplicas is less than the desired Replicas. |
|
| UpdatedReplicas is the number of non-terminated Control Plane Machines created by the ControlPlaneMachineSet controller that have the desired provider spec and are ready. This value is set to 0 when a change is detected to the desired spec. When the update strategy is RollingUpdate, this will also coincide with starting the process of updating the Machines. When the update strategy is OnDelete, this value will remain at 0 until a user deletes an existing replica and its replacement has become ready. |
.status.conditions
Description
Conditions represents the observations of the ControlPlaneMachineSet’s current state. Known .status.conditions.type are: Available, Degraded and Progressing.
Type
array
.status.conditions[]
Description
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 }
Type
object
Required
lastTransitionTime
message
reason
status
type
Property | Type | Description |
---|---|---|
|
| lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
|
| message is a human readable message indicating details about the transition. This may be an empty string. |
|
| observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. |
|
| reason contains a programmatic identifier indicating the reason for the condition’s last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
|
| status of the condition, one of True, False, Unknown. |
|
| type of condition in CamelCase or in foo.example.com/CamelCase. —- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) |
API endpoints
The following API endpoints are available:
/apis/machine.openshift.io/v1/controlplanemachinesets
GET
: list objects of kind ControlPlaneMachineSet
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets
DELETE
: delete collection of ControlPlaneMachineSetGET
: list objects of kind ControlPlaneMachineSetPOST
: create a ControlPlaneMachineSet
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}
DELETE
: delete a ControlPlaneMachineSetGET
: read the specified ControlPlaneMachineSetPATCH
: partially update the specified ControlPlaneMachineSetPUT
: replace the specified ControlPlaneMachineSet
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}/scale
GET
: read scale of the specified ControlPlaneMachineSetPATCH
: partially update scale of the specified ControlPlaneMachineSetPUT
: replace scale of the specified ControlPlaneMachineSet
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}/status
GET
: read status of the specified ControlPlaneMachineSetPATCH
: partially update status of the specified ControlPlaneMachineSetPUT
: replace status of the specified ControlPlaneMachineSet
/apis/machine.openshift.io/v1/controlplanemachinesets
Parameter | Type | Description |
---|---|---|
|
| allowWatchBookmarks requests watch events with type “BOOKMARK”. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server’s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the “next key”. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
|
| A selector to restrict the list of returned objects by their fields. Defaults to everything. |
|
| A selector to restrict the list of returned objects by their labels. Defaults to everything. |
|
| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
|
| If ‘true’, then the output is pretty printed. |
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
|
| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
HTTP method
GET
Description
list objects of kind ControlPlaneMachineSet
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSetList schema |
401 - Unauthorized | Empty |
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets
Parameter | Type | Description |
---|---|---|
|
| object name and auth scope, such as for teams and projects |
Parameter | Type | Description |
---|---|---|
|
| If ‘true’, then the output is pretty printed. |
HTTP method
DELETE
Description
delete collection of ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| allowWatchBookmarks requests watch events with type “BOOKMARK”. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server’s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the “next key”. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
|
| A selector to restrict the list of returned objects by their fields. Defaults to everything. |
|
| A selector to restrict the list of returned objects by their labels. Defaults to everything. |
|
| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
|
| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
HTTP code | Reponse body |
---|---|
200 - OK | Status schema |
401 - Unauthorized | Empty |
HTTP method
GET
Description
list objects of kind ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| allowWatchBookmarks requests watch events with type “BOOKMARK”. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server’s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the “next key”. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
|
| A selector to restrict the list of returned objects by their fields. Defaults to everything. |
|
| A selector to restrict the list of returned objects by their labels. Defaults to everything. |
|
| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
|
| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
|
| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSetList schema |
401 - Unauthorized | Empty |
HTTP method
POST
Description
create a ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| ControlPlaneMachineSet schema |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSet schema |
201 - Created | ControlPlaneMachineSet schema |
202 - Accepted | ControlPlaneMachineSet schema |
401 - Unauthorized | Empty |
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}
Parameter | Type | Description |
---|---|---|
|
| name of the ControlPlaneMachineSet |
|
| object name and auth scope, such as for teams and projects |
Parameter | Type | Description |
---|---|---|
|
| If ‘true’, then the output is pretty printed. |
HTTP method
DELETE
Description
delete a ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
|
| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the “orphan” finalizer will be added to/removed from the object’s finalizers list. Either this field or PropagationPolicy may be set, but not both. |
|
| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: ‘Orphan’ - orphan the dependents; ‘Background’ - allow the garbage collector to delete the dependents in the background; ‘Foreground’ - a cascading policy that deletes all dependents in the foreground. |
Parameter | Type | Description |
---|---|---|
| DeleteOptions schema |
HTTP code | Reponse body |
---|---|
200 - OK | Status schema |
202 - Accepted | Status schema |
401 - Unauthorized | Empty |
HTTP method
GET
Description
read the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSet schema |
401 - Unauthorized | Empty |
HTTP method
PATCH
Description
partially update the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| Patch schema |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSet schema |
401 - Unauthorized | Empty |
HTTP method
PUT
Description
replace the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| ControlPlaneMachineSet schema |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSet schema |
201 - Created | ControlPlaneMachineSet schema |
401 - Unauthorized | Empty |
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}/scale
Parameter | Type | Description |
---|---|---|
|
| name of the ControlPlaneMachineSet |
|
| object name and auth scope, such as for teams and projects |
Parameter | Type | Description |
---|---|---|
|
| If ‘true’, then the output is pretty printed. |
HTTP method
GET
Description
read scale of the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
HTTP code | Reponse body |
---|---|
200 - OK | Scale schema |
401 - Unauthorized | Empty |
HTTP method
PATCH
Description
partially update scale of the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| Patch schema |
HTTP code | Reponse body |
---|---|
200 - OK | Scale schema |
401 - Unauthorized | Empty |
HTTP method
PUT
Description
replace scale of the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| Scale schema |
HTTP code | Reponse body |
---|---|
200 - OK | Scale schema |
201 - Created | Scale schema |
401 - Unauthorized | Empty |
/apis/machine.openshift.io/v1/namespaces/{namespace}/controlplanemachinesets/{name}/status
Parameter | Type | Description |
---|---|---|
|
| name of the ControlPlaneMachineSet |
|
| object name and auth scope, such as for teams and projects |
Parameter | Type | Description |
---|---|---|
|
| If ‘true’, then the output is pretty printed. |
HTTP method
GET
Description
read status of the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSet schema |
401 - Unauthorized | Empty |
HTTP method
PATCH
Description
partially update status of the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| Patch schema |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSet schema |
401 - Unauthorized | Empty |
HTTP method
PUT
Description
replace status of the specified ControlPlaneMachineSet
Parameter | Type | Description |
---|---|---|
|
| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
|
| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. |
|
| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the |
Parameter | Type | Description |
---|---|---|
| ControlPlaneMachineSet schema |
HTTP code | Reponse body |
---|---|
200 - OK | ControlPlaneMachineSet schema |
201 - Created | ControlPlaneMachineSet schema |
401 - Unauthorized | Empty |