Struct k8s_cluster_api::v1beta1::controlplane::kubeadm::KubeadmControlPlaneSpec [−][src]
pub struct KubeadmControlPlaneSpec {
pub replicas: Option<i32>,
pub version: String,
pub machine_template: KubeadmControlPlaneMachineTemplate,
pub kubeadm_config_spec: KubeadmConfigSpec,
pub rollout_after: Option<Time>,
pub rollout_strategy: Option<RolloutStrategy>,
}
Expand description
KubeadmControlPlaneSpec defines the desired state of KubeadmControlPlane.
Fields
replicas: Option<i32>
Number of desired machines. Defaults to 1. When stacked etcd is used only odd numbers are permitted, as per etcd best practice. This is a pointer to distinguish between explicit zero and not specified.
version: String
Version defines the desired Kubernetes version.
machine_template: KubeadmControlPlaneMachineTemplate
MachineTemplate contains information about how machines should be shaped when creating or updating a control plane.
kubeadm_config_spec: KubeadmConfigSpec
KubeadmConfigSpec is a KubeadmConfigSpec to use for initializing and joining machines to the control plane.
rollout_after: Option<Time>
RolloutAfter is a field to indicate a rollout should be performed after the specified time even if no changes have been made to the KubeadmControlPlane.
rollout_strategy: Option<RolloutStrategy>
The RolloutStrategy to use to replace control plane machines with new ones.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for KubeadmControlPlaneSpec
impl Send for KubeadmControlPlaneSpec
impl Sync for KubeadmControlPlaneSpec
impl Unpin for KubeadmControlPlaneSpec
impl UnwindSafe for KubeadmControlPlaneSpec
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more