Struct k8s_cluster_api::v1beta1::KubeadmConfigSpec[][src]

pub struct KubeadmConfigSpec {
Show 13 fields pub cluster_configuration: Option<ClusterConfiguration>, pub init_configuration: Option<InitConfiguration>, pub join_configuration: Option<JoinConfiguration>, pub files: Vec<File>, pub disk_setup: Option<DiskSetup>, pub mounts: Vec<MountPoints>, pub pre_kubeadm_commands: Vec<String>, pub post_kubeadm_commands: Vec<String>, pub users: Vec<User>, pub ntp: Option<Ntp>, pub format: Option<Format>, pub verbosity: Option<i32>, pub use_experimental_retry_join: Option<bool>,
}
Expand description

KubeadmConfigSpec defines the desired state of KubeadmConfig. Either ClusterConfiguration and InitConfiguration should be defined or the JoinConfiguration should be defined.

Fields

cluster_configuration: Option<ClusterConfiguration>

ClusterConfiguration along with InitConfiguration are the configurations necessary for the init command

init_configuration: Option<InitConfiguration>join_configuration: Option<JoinConfiguration>

JoinConfiguration is the kubeadm configuration for the join command

files: Vec<File>

Files specifies extra files to be passed to user_data upon creation.

disk_setup: Option<DiskSetup>

DiskSetup specifies options for the creation of partition tables and file systems on devices.

mounts: Vec<MountPoints>

Mounts specifies a list of mount points to be setup.

pre_kubeadm_commands: Vec<String>

PreKubeadmCommands specifies extra commands to run before kubeadm runs

post_kubeadm_commands: Vec<String>

PostKubeadmCommands specifies extra commands to run after kubeadm runs

users: Vec<User>

Users specifies extra users to add

ntp: Option<Ntp>

NTP specifies NTP configuration

format: Option<Format>

Format specifies the output format of the bootstrap data

verbosity: Option<i32>use_experimental_retry_join: Option<bool>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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