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: StringVersion defines the desired Kubernetes version.
machine_template: KubeadmControlPlaneMachineTemplateMachineTemplate contains information about how machines should be shaped when creating or updating a control plane.
kubeadm_config_spec: KubeadmConfigSpecKubeadmConfigSpec 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§
Source§impl Clone for KubeadmControlPlaneSpec
impl Clone for KubeadmControlPlaneSpec
Source§fn clone(&self) -> KubeadmControlPlaneSpec
fn clone(&self) -> KubeadmControlPlaneSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more