• Русский
  • KubeadmControlPlaneTemplate [controlplane.cluster.x-k8s.io/v1beta1]

    Description
    KubeadmControlPlaneTemplate is the Schema for the kubeadmcontrolplanetemplates API.
    Type
    object

    Specification

    PropertyTypeDescription
    apiVersionstring

    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

    kindstring

    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

    metadataObjectMeta

    ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

    specobject

    spec is the desired state of KubeadmControlPlaneTemplate.

    .spec

    Description
    spec is the desired state of KubeadmControlPlaneTemplate.
    Type
    object
    Required
    template
    PropertyTypeDescription
    templateobject

    template defines the desired state of KubeadmControlPlaneTemplate.

    .spec.template

    Description
    template defines the desired state of KubeadmControlPlaneTemplate.
    Type
    object
    Required
    spec
    PropertyTypeDescription
    metadataObjectMeta

    metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    specobject

    spec is the desired state of KubeadmControlPlaneTemplateResource.

    .spec.template.spec

    Description
    spec is the desired state of KubeadmControlPlaneTemplateResource.
    Type
    object
    Required
    kubeadmConfigSpec
    PropertyTypeDescription
    kubeadmConfigSpecobject

    kubeadmConfigSpec is a KubeadmConfigSpec to use for initializing and joining machines to the control plane.

    machineNamingStrategyobject

    machineNamingStrategy allows changing the naming pattern used when creating Machines. InfraMachines & KubeadmConfigs will use the same name as the corresponding Machines.

    machineTemplateobject

    machineTemplate contains information about how machines should be shaped when creating or updating a control plane.

    remediationStrategyobject

    remediationStrategy is the RemediationStrategy that controls how control plane machine remediation happens.

    rolloutAfterstring

    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.

    rolloutBeforeobject

    rolloutBefore is a field to indicate a rollout should be performed if the specified criteria is met.

    rolloutStrategyobject

    rolloutStrategy is the RolloutStrategy to use to replace control plane machines with new ones.

    .spec.template.spec.kubeadmConfigSpec

    Description
    kubeadmConfigSpec is a KubeadmConfigSpec to use for initializing and joining machines to the control plane.
    Type
    object
    PropertyTypeDescription
    bootCommandsarray

    bootCommands specifies extra commands to run very early in the boot process via the cloud-init bootcmd module. bootcmd will run on every boot, 'cloud-init-per' command can be used to make bootcmd run exactly once. This is typically run in the cloud-init.service systemd unit. This has no effect in Ignition.

    clusterConfigurationobject

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

    diskSetupobject

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

    filesarray

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

    formatstring

    format specifies the output format of the bootstrap data

    ignitionobject

    ignition contains Ignition specific configuration.

    initConfigurationobject

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

    joinConfigurationobject

    joinConfiguration is the kubeadm configuration for the join command

    mountsarray

    mounts specifies a list of mount points to be setup.

    ntpobject

    ntp specifies NTP configuration

    postKubeadmCommandsarray

    postKubeadmCommands specifies extra commands to run after kubeadm runs. With cloud-init, this is appended to the runcmd module configuration, and is typically executed in the cloud-final.service systemd unit. In Ignition, this is appended to /etc/kubeadm.sh.

    preKubeadmCommandsarray

    preKubeadmCommands specifies extra commands to run before kubeadm runs. With cloud-init, this is prepended to the runcmd module configuration, and is typically executed in the cloud-final.service systemd unit. In Ignition, this is prepended to /etc/kubeadm.sh.

    useExperimentalRetryJoinboolean

    useExperimentalRetryJoin replaces a basic kubeadm command with a shell script with retries for joins.

    This is meant to be an experimental temporary workaround on some environments where joins fail due to timing (and other issues). The long term goal is to add retries to kubeadm proper and use that functionality.

    This will add about 40KB to userdata

    For more information, refer to https://github.com/kubernetes-sigs/cluster-api/pull/2763#discussion_r397306055.

    Deprecated: This experimental fix is no longer needed and this field will be removed in a future release. When removing also remove from staticcheck exclude-rules for SA1019 in golangci.yml

    usersarray

    users specifies extra users to add

    verbosityinteger

    verbosity is the number for the kubeadm log level verbosity. It overrides the --v flag in kubeadm commands.

    .spec.template.spec.kubeadmConfigSpec.bootCommands

    Description
    bootCommands specifies extra commands to run very early in the boot process via the cloud-init bootcmd module. bootcmd will run on every boot, 'cloud-init-per' command can be used to make bootcmd run exactly once. This is typically run in the cloud-init.service systemd unit. This has no effect in Ignition.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.bootCommands[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration

    Description
    clusterConfiguration along with InitConfiguration are the configurations necessary for the init command
    Type
    object
    PropertyTypeDescription
    apiServerobject

    apiServer contains extra settings for the API server control plane component

    apiVersionstring

    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

    certificatesDirstring

    certificatesDir specifies where to store or look for all required certificates. NB: if not provided, this will default to /etc/kubernetes/pki

    clusterNamestring

    clusterName is the cluster name

    controlPlaneEndpointstring

    controlPlaneEndpoint sets a stable IP address or DNS name for the control plane; it can be a valid IP address or a RFC-1123 DNS subdomain, both with optional TCP port. In case the ControlPlaneEndpoint is not specified, the AdvertiseAddress + BindPort are used; in case the ControlPlaneEndpoint is specified but without a TCP port, the BindPort is used. Possible usages are: e.g. In a cluster with more than one control plane instances, this field should be assigned the address of the external load balancer in front of the control plane instances. e.g. in environments with enforced node recycling, the ControlPlaneEndpoint could be used for assigning a stable DNS to the control plane. NB: This value defaults to the first value in the Cluster object status.apiEndpoints array.

    controllerManagerobject

    controllerManager contains extra settings for the controller manager control plane component

    dnsobject

    dns defines the options for the DNS add-on installed in the cluster.

    etcdobject

    etcd holds configuration for etcd. NB: This value defaults to a Local (stacked) etcd

    featureGatesobject

    featureGates enabled by the user.

    imageRepositorystring

    imageRepository sets the container registry to pull images from.

    • If not set, the default registry of kubeadm will be used, i.e.
      • registry.k8s.io (new registry): >= v1.22.17, >= v1.23.15, >= v1.24.9, >= v1.25.0
      • k8s.gcr.io (old registry): all older versions Please note that when imageRepository is not set we don't allow upgrades to versions >= v1.22.0 which use the old registry (k8s.gcr.io). Please use a newer patch version with the new registry instead (i.e. >= v1.22.17,

      = v1.23.15, >= v1.24.9, >= v1.25.0).

    • If the version is a CI build (kubernetes version starts with ci/ or ci-cross/) gcr.io/k8s-staging-ci-images will be used as a default for control plane components and for kube-proxy, while registry.k8s.io will be used for all the other images.
    kindstring

    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

    kubernetesVersionstring

    kubernetesVersion is the target version of the control plane. NB: This value defaults to the Machine object spec.version

    networkingobject

    networking holds configuration for the networking topology of the cluster. NB: This value defaults to the Cluster object spec.clusterNetwork.

    schedulerobject

    scheduler contains extra settings for the scheduler control plane component

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer

    Description
    apiServer contains extra settings for the API server control plane component
    Type
    object
    PropertyTypeDescription
    certSANsarray

    certSANs sets extra Subject Alternative Names for the API Server signing cert.

    extraArgsobject

    extraArgs is an extra set of flags to pass to the control plane component.

    extraEnvsarray

    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.

    extraVolumesarray

    extraVolumes is an extra set of host volumes, mounted to the control plane component.

    timeoutForControlPlanestring

    timeoutForControlPlane controls the timeout that we use for API server to appear

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.certSANs

    Description
    certSANs sets extra Subject Alternative Names for the API Server signing cert.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.certSANs[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraArgs

    Description
    extraArgs is an extra set of flags to pass to the control plane component.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraEnvs

    Description
    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraEnvs[]

    Description
    EnvVar represents an environment variable present in a Container.
    Type
    object
    Required
    name
    PropertyTypeDescription
    namestring

    Name of the environment variable. Must be a C_IDENTIFIER.

    valuestring

    Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

    valueFromobject

    Source for the environment variable's value. Cannot be used if value is not empty.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraEnvs[].valueFrom

    Description
    Source for the environment variable's value. Cannot be used if value is not empty.
    Type
    object
    PropertyTypeDescription
    configMapKeyRefobject

    Selects a key of a ConfigMap.

    fieldRefobject

    Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

    resourceFieldRefobject

    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.

    secretKeyRefobject

    Selects a key of a secret in the pod's namespace

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraEnvs[].valueFrom.configMapKeyRef

    Description
    Selects a key of a ConfigMap.
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key to select.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the ConfigMap or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraEnvs[].valueFrom.fieldRef

    Description
    Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
    Type
    object
    Required
    fieldPath
    PropertyTypeDescription
    apiVersionstring

    Version of the schema the FieldPath is written in terms of, defaults to "v1".

    fieldPathstring

    Path of the field to select in the specified API version.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraEnvs[].valueFrom.resourceFieldRef

    Description
    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
    Type
    object
    Required
    resource
    PropertyTypeDescription
    containerNamestring

    Container name: required for volumes, optional for env vars

    divisor

    Specifies the output format of the exposed resources, defaults to "1"

    resourcestring

    Required: resource to select

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraEnvs[].valueFrom.secretKeyRef

    Description
    Selects a key of a secret in the pod's namespace
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key of the secret to select from. Must be a valid secret key.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the Secret or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraVolumes

    Description
    extraVolumes is an extra set of host volumes, mounted to the control plane component.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.apiServer.extraVolumes[]

    Description
    HostPathMount contains elements describing volumes that are mounted from the host.
    Type
    object
    Required
    hostPathmountPathname
    PropertyTypeDescription
    hostPathstring

    hostPath is the path in the host that will be mounted inside the pod.

    mountPathstring

    mountPath is the path inside the pod where hostPath will be mounted.

    namestring

    name of the volume inside the pod template.

    pathTypestring

    pathType is the type of the HostPath.

    readOnlyboolean

    readOnly controls write access to the volume

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager

    Description
    controllerManager contains extra settings for the controller manager control plane component
    Type
    object
    PropertyTypeDescription
    extraArgsobject

    extraArgs is an extra set of flags to pass to the control plane component.

    extraEnvsarray

    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.

    extraVolumesarray

    extraVolumes is an extra set of host volumes, mounted to the control plane component.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraArgs

    Description
    extraArgs is an extra set of flags to pass to the control plane component.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraEnvs

    Description
    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraEnvs[]

    Description
    EnvVar represents an environment variable present in a Container.
    Type
    object
    Required
    name
    PropertyTypeDescription
    namestring

    Name of the environment variable. Must be a C_IDENTIFIER.

    valuestring

    Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

    valueFromobject

    Source for the environment variable's value. Cannot be used if value is not empty.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraEnvs[].valueFrom

    Description
    Source for the environment variable's value. Cannot be used if value is not empty.
    Type
    object
    PropertyTypeDescription
    configMapKeyRefobject

    Selects a key of a ConfigMap.

    fieldRefobject

    Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

    resourceFieldRefobject

    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.

    secretKeyRefobject

    Selects a key of a secret in the pod's namespace

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraEnvs[].valueFrom.configMapKeyRef

    Description
    Selects a key of a ConfigMap.
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key to select.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the ConfigMap or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraEnvs[].valueFrom.fieldRef

    Description
    Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
    Type
    object
    Required
    fieldPath
    PropertyTypeDescription
    apiVersionstring

    Version of the schema the FieldPath is written in terms of, defaults to "v1".

    fieldPathstring

    Path of the field to select in the specified API version.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraEnvs[].valueFrom.resourceFieldRef

    Description
    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
    Type
    object
    Required
    resource
    PropertyTypeDescription
    containerNamestring

    Container name: required for volumes, optional for env vars

    divisor

    Specifies the output format of the exposed resources, defaults to "1"

    resourcestring

    Required: resource to select

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraEnvs[].valueFrom.secretKeyRef

    Description
    Selects a key of a secret in the pod's namespace
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key of the secret to select from. Must be a valid secret key.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the Secret or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraVolumes

    Description
    extraVolumes is an extra set of host volumes, mounted to the control plane component.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.controllerManager.extraVolumes[]

    Description
    HostPathMount contains elements describing volumes that are mounted from the host.
    Type
    object
    Required
    hostPathmountPathname
    PropertyTypeDescription
    hostPathstring

    hostPath is the path in the host that will be mounted inside the pod.

    mountPathstring

    mountPath is the path inside the pod where hostPath will be mounted.

    namestring

    name of the volume inside the pod template.

    pathTypestring

    pathType is the type of the HostPath.

    readOnlyboolean

    readOnly controls write access to the volume

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.dns

    Description
    dns defines the options for the DNS add-on installed in the cluster.
    Type
    object
    PropertyTypeDescription
    imageRepositorystring

    imageRepository sets the container registry to pull images from. if not set, the ImageRepository defined in ClusterConfiguration will be used instead.

    imageTagstring

    imageTag allows to specify a tag for the image. In case this value is set, kubeadm does not change automatically the version of the above components during upgrades.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd

    Description
    etcd holds configuration for etcd. NB: This value defaults to a Local (stacked) etcd
    Type
    object
    PropertyTypeDescription
    externalobject

    external describes how to connect to an external etcd cluster Local and External are mutually exclusive

    localobject

    local provides configuration knobs for configuring the local etcd instance Local and External are mutually exclusive

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.external

    Description
    external describes how to connect to an external etcd cluster Local and External are mutually exclusive
    Type
    object
    Required
    caFilecertFileendpointskeyFile
    PropertyTypeDescription
    caFilestring

    caFile is an SSL Certificate Authority file used to secure etcd communication. Required if using a TLS connection.

    certFilestring

    certFile is an SSL certification file used to secure etcd communication. Required if using a TLS connection.

    endpointsarray

    endpoints of etcd members. Required for ExternalEtcd.

    keyFilestring

    keyFile is an SSL key file used to secure etcd communication. Required if using a TLS connection.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.external.endpoints

    Description
    endpoints of etcd members. Required for ExternalEtcd.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.external.endpoints[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local

    Description
    local provides configuration knobs for configuring the local etcd instance Local and External are mutually exclusive
    Type
    object
    PropertyTypeDescription
    dataDirstring

    dataDir is the directory etcd will place its data. Defaults to "/var/lib/etcd".

    extraArgsobject

    extraArgs are extra arguments provided to the etcd binary when run inside a static pod.

    extraEnvsarray

    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.

    imageRepositorystring

    imageRepository sets the container registry to pull images from. if not set, the ImageRepository defined in ClusterConfiguration will be used instead.

    imageTagstring

    imageTag allows to specify a tag for the image. In case this value is set, kubeadm does not change automatically the version of the above components during upgrades.

    peerCertSANsarray

    peerCertSANs sets extra Subject Alternative Names for the etcd peer signing cert.

    serverCertSANsarray

    serverCertSANs sets extra Subject Alternative Names for the etcd server signing cert.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraArgs

    Description
    extraArgs are extra arguments provided to the etcd binary when run inside a static pod.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraEnvs

    Description
    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraEnvs[]

    Description
    EnvVar represents an environment variable present in a Container.
    Type
    object
    Required
    name
    PropertyTypeDescription
    namestring

    Name of the environment variable. Must be a C_IDENTIFIER.

    valuestring

    Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

    valueFromobject

    Source for the environment variable's value. Cannot be used if value is not empty.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraEnvs[].valueFrom

    Description
    Source for the environment variable's value. Cannot be used if value is not empty.
    Type
    object
    PropertyTypeDescription
    configMapKeyRefobject

    Selects a key of a ConfigMap.

    fieldRefobject

    Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

    resourceFieldRefobject

    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.

    secretKeyRefobject

    Selects a key of a secret in the pod's namespace

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraEnvs[].valueFrom.configMapKeyRef

    Description
    Selects a key of a ConfigMap.
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key to select.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the ConfigMap or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraEnvs[].valueFrom.fieldRef

    Description
    Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
    Type
    object
    Required
    fieldPath
    PropertyTypeDescription
    apiVersionstring

    Version of the schema the FieldPath is written in terms of, defaults to "v1".

    fieldPathstring

    Path of the field to select in the specified API version.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraEnvs[].valueFrom.resourceFieldRef

    Description
    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
    Type
    object
    Required
    resource
    PropertyTypeDescription
    containerNamestring

    Container name: required for volumes, optional for env vars

    divisor

    Specifies the output format of the exposed resources, defaults to "1"

    resourcestring

    Required: resource to select

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.extraEnvs[].valueFrom.secretKeyRef

    Description
    Selects a key of a secret in the pod's namespace
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key of the secret to select from. Must be a valid secret key.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the Secret or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.peerCertSANs

    Description
    peerCertSANs sets extra Subject Alternative Names for the etcd peer signing cert.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.peerCertSANs[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.serverCertSANs

    Description
    serverCertSANs sets extra Subject Alternative Names for the etcd server signing cert.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.etcd.local.serverCertSANs[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.featureGates

    Description
    featureGates enabled by the user.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.networking

    Description
    networking holds configuration for the networking topology of the cluster. NB: This value defaults to the Cluster object spec.clusterNetwork.
    Type
    object
    PropertyTypeDescription
    dnsDomainstring

    dnsDomain is the dns domain used by k8s services. Defaults to "cluster.local".

    podSubnetstring

    podSubnet is the subnet used by pods. If unset, the API server will not allocate CIDR ranges for every node. Defaults to a comma-delimited string of the Cluster object's spec.clusterNetwork.services.cidrBlocks if that is set

    serviceSubnetstring

    serviceSubnet is the subnet used by k8s services. Defaults to a comma-delimited string of the Cluster object's spec.clusterNetwork.pods.cidrBlocks, or to "10.96.0.0/12" if that's unset.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler

    Description
    scheduler contains extra settings for the scheduler control plane component
    Type
    object
    PropertyTypeDescription
    extraArgsobject

    extraArgs is an extra set of flags to pass to the control plane component.

    extraEnvsarray

    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.

    extraVolumesarray

    extraVolumes is an extra set of host volumes, mounted to the control plane component.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraArgs

    Description
    extraArgs is an extra set of flags to pass to the control plane component.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraEnvs

    Description
    extraEnvs is an extra set of environment variables to pass to the control plane component. Environment variables passed using ExtraEnvs will override any existing environment variables, or *_proxy environment variables that kubeadm adds by default. This option takes effect only on Kubernetes >=1.31.0.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraEnvs[]

    Description
    EnvVar represents an environment variable present in a Container.
    Type
    object
    Required
    name
    PropertyTypeDescription
    namestring

    Name of the environment variable. Must be a C_IDENTIFIER.

    valuestring

    Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

    valueFromobject

    Source for the environment variable's value. Cannot be used if value is not empty.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraEnvs[].valueFrom

    Description
    Source for the environment variable's value. Cannot be used if value is not empty.
    Type
    object
    PropertyTypeDescription
    configMapKeyRefobject

    Selects a key of a ConfigMap.

    fieldRefobject

    Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'], spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

    resourceFieldRefobject

    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.

    secretKeyRefobject

    Selects a key of a secret in the pod's namespace

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraEnvs[].valueFrom.configMapKeyRef

    Description
    Selects a key of a ConfigMap.
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key to select.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the ConfigMap or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraEnvs[].valueFrom.fieldRef

    Description
    Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
    Type
    object
    Required
    fieldPath
    PropertyTypeDescription
    apiVersionstring

    Version of the schema the FieldPath is written in terms of, defaults to "v1".

    fieldPathstring

    Path of the field to select in the specified API version.

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraEnvs[].valueFrom.resourceFieldRef

    Description
    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
    Type
    object
    Required
    resource
    PropertyTypeDescription
    containerNamestring

    Container name: required for volumes, optional for env vars

    divisor

    Specifies the output format of the exposed resources, defaults to "1"

    resourcestring

    Required: resource to select

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraEnvs[].valueFrom.secretKeyRef

    Description
    Selects a key of a secret in the pod's namespace
    Type
    object
    Required
    key
    PropertyTypeDescription
    keystring

    The key of the secret to select from. Must be a valid secret key.

    namestring

    Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

    optionalboolean

    Specify whether the Secret or its key must be defined

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraVolumes

    Description
    extraVolumes is an extra set of host volumes, mounted to the control plane component.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.clusterConfiguration.scheduler.extraVolumes[]

    Description
    HostPathMount contains elements describing volumes that are mounted from the host.
    Type
    object
    Required
    hostPathmountPathname
    PropertyTypeDescription
    hostPathstring

    hostPath is the path in the host that will be mounted inside the pod.

    mountPathstring

    mountPath is the path inside the pod where hostPath will be mounted.

    namestring

    name of the volume inside the pod template.

    pathTypestring

    pathType is the type of the HostPath.

    readOnlyboolean

    readOnly controls write access to the volume

    .spec.template.spec.kubeadmConfigSpec.diskSetup

    Description
    diskSetup specifies options for the creation of partition tables and file systems on devices.
    Type
    object
    PropertyTypeDescription
    filesystemsarray

    filesystems specifies the list of file systems to setup.

    partitionsarray

    partitions specifies the list of the partitions to setup.

    .spec.template.spec.kubeadmConfigSpec.diskSetup.filesystems

    Description
    filesystems specifies the list of file systems to setup.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.diskSetup.filesystems[]

    Description
    Filesystem defines the file systems to be created.
    Type
    object
    Required
    devicefilesystem
    PropertyTypeDescription
    devicestring

    device specifies the device name

    extraOptsarray

    extraOpts defined extra options to add to the command for creating the file system.

    filesystemstring

    filesystem specifies the file system type.

    labelstring

    label specifies the file system label to be used. If set to None, no label is used.

    overwriteboolean

    overwrite defines whether or not to overwrite any existing filesystem. If true, any pre-existing file system will be destroyed. Use with Caution.

    partitionstring

    partition specifies the partition to use. The valid options are: "auto|any", "auto", "any", "none", and , where NUM is the actual partition number.

    replaceFSstring

    replaceFS is a special directive, used for Microsoft Azure that instructs cloud-init to replace a file system of <FS_TYPE>. NOTE: unless you define a label, this requires the use of the 'any' partition directive.

    .spec.template.spec.kubeadmConfigSpec.diskSetup.filesystems[].extraOpts

    Description
    extraOpts defined extra options to add to the command for creating the file system.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.diskSetup.filesystems[].extraOpts[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.diskSetup.partitions

    Description
    partitions specifies the list of the partitions to setup.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.diskSetup.partitions[]

    Description
    Partition defines how to create and layout a partition.
    Type
    object
    Required
    devicelayout
    PropertyTypeDescription
    devicestring

    device is the name of the device.

    layoutboolean

    layout specifies the device layout. If it is true, a single partition will be created for the entire device. When layout is false, it means don't partition or ignore existing partitioning.

    overwriteboolean

    overwrite describes whether to skip checks and create the partition if a partition or filesystem is found on the device. Use with caution. Default is 'false'.

    tableTypestring

    tableType specifies the tupe of partition table. The following are supported: 'mbr': default and setups a MS-DOS partition table 'gpt': setups a GPT partition table

    .spec.template.spec.kubeadmConfigSpec.files

    Description
    files specifies extra files to be passed to user_data upon creation.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.files[]

    Description
    File defines the input for generating write_files in cloud-init.
    Type
    object
    Required
    path
    PropertyTypeDescription
    appendboolean

    append specifies whether to append Content to existing file if Path exists.

    contentstring

    content is the actual content of the file.

    contentFromobject

    contentFrom is a referenced source of content to populate the file.

    encodingstring

    encoding specifies the encoding of the file contents.

    ownerstring

    owner specifies the ownership of the file, e.g. "root:root".

    pathstring

    path specifies the full path on disk where to store the file.

    permissionsstring

    permissions specifies the permissions to assign to the file, e.g. "0640".

    .spec.template.spec.kubeadmConfigSpec.files[].contentFrom

    Description
    contentFrom is a referenced source of content to populate the file.
    Type
    object
    Required
    secret
    PropertyTypeDescription
    secretobject

    secret represents a secret that should populate this file.

    .spec.template.spec.kubeadmConfigSpec.files[].contentFrom.secret

    Description
    secret represents a secret that should populate this file.
    Type
    object
    Required
    keyname
    PropertyTypeDescription
    keystring

    key is the key in the secret's data map for this value.

    namestring

    name of the secret in the KubeadmBootstrapConfig's namespace to use.

    .spec.template.spec.kubeadmConfigSpec.ignition

    Description
    ignition contains Ignition specific configuration.
    Type
    object
    PropertyTypeDescription
    containerLinuxConfigobject

    containerLinuxConfig contains CLC specific configuration.

    .spec.template.spec.kubeadmConfigSpec.ignition.containerLinuxConfig

    Description
    containerLinuxConfig contains CLC specific configuration.
    Type
    object
    PropertyTypeDescription
    additionalConfigstring

    additionalConfig contains additional configuration to be merged with the Ignition configuration generated by the bootstrapper controller. More info: https://coreos.github.io/ignition/operator-notes/#config-merging

    The data format is documented here: https://kinvolk.io/docs/flatcar-container-linux/latest/provisioning/cl-config/

    strictboolean

    strict controls if AdditionalConfig should be strictly parsed. If so, warnings are treated as errors.

    .spec.template.spec.kubeadmConfigSpec.initConfiguration

    Description
    initConfiguration along with ClusterConfiguration are the configurations necessary for the init command
    Type
    object
    PropertyTypeDescription
    apiVersionstring

    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

    bootstrapTokensarray

    bootstrapTokens is respected at kubeadm init time and describes a set of Bootstrap Tokens to create. This information IS NOT uploaded to the kubeadm cluster configmap, partly because of its sensitive nature

    kindstring

    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

    localAPIEndpointobject

    localAPIEndpoint represents the endpoint of the API server instance that's deployed on this control plane node In HA setups, this differs from ClusterConfiguration.ControlPlaneEndpoint in the sense that ControlPlaneEndpoint is the global endpoint for the cluster, which then loadbalances the requests to each individual API server. This configuration object lets you customize what IP/DNS name and port the local API server advertises it's accessible on. By default, kubeadm tries to auto-detect the IP of the default interface and use that, but in case that process fails you may set the desired value here.

    nodeRegistrationobject

    nodeRegistration holds fields that relate to registering the new control-plane node to the cluster. When used in the context of control plane nodes, NodeRegistration should remain consistent across both InitConfiguration and JoinConfiguration

    patchesobject

    patches contains options related to applying patches to components deployed by kubeadm during "kubeadm init". The minimum kubernetes version needed to support Patches is v1.22

    skipPhasesarray

    skipPhases is a list of phases to skip during command execution. The list of phases can be obtained with the "kubeadm init --help" command. This option takes effect only on Kubernetes >=1.22.0.

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens

    Description
    bootstrapTokens is respected at `kubeadm init` time and describes a set of Bootstrap Tokens to create. This information IS NOT uploaded to the kubeadm cluster configmap, partly because of its sensitive nature
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens[]

    Description
    BootstrapToken describes one bootstrap token, stored as a Secret in the cluster.
    Type
    object
    Required
    token
    PropertyTypeDescription
    descriptionstring

    description sets a human-friendly message why this token exists and what it's used for, so other administrators can know its purpose.

    expiresstring

    expires specifies the timestamp when this token expires. Defaults to being set dynamically at runtime based on the TTL. Expires and TTL are mutually exclusive.

    groupsarray

    groups specifies the extra groups that this token will authenticate as when/if used for authentication

    tokenstring

    token is used for establishing bidirectional trust between nodes and control-planes. Used for joining nodes in the cluster.

    ttlstring

    ttl defines the time to live for this token. Defaults to 24h. Expires and TTL are mutually exclusive.

    usagesarray

    usages describes the ways in which this token can be used. Can by default be used for establishing bidirectional trust, but that can be changed here.

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens[].groups

    Description
    groups specifies the extra groups that this token will authenticate as when/if used for authentication
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens[].groups[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens[].usages

    Description
    usages describes the ways in which this token can be used. Can by default be used for establishing bidirectional trust, but that can be changed here.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens[].usages[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.localAPIEndpoint

    Description
    localAPIEndpoint represents the endpoint of the API server instance that's deployed on this control plane node In HA setups, this differs from ClusterConfiguration.ControlPlaneEndpoint in the sense that ControlPlaneEndpoint is the global endpoint for the cluster, which then loadbalances the requests to each individual API server. This configuration object lets you customize what IP/DNS name and port the local API server advertises it's accessible on. By default, kubeadm tries to auto-detect the IP of the default interface and use that, but in case that process fails you may set the desired value here.
    Type
    object
    PropertyTypeDescription
    advertiseAddressstring

    advertiseAddress sets the IP address for the API server to advertise.

    bindPortinteger

    bindPort sets the secure port for the API Server to bind to. Defaults to 6443.

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.nodeRegistration

    Description
    nodeRegistration holds fields that relate to registering the new control-plane node to the cluster. When used in the context of control plane nodes, NodeRegistration should remain consistent across both InitConfiguration and JoinConfiguration
    Type
    object
    PropertyTypeDescription
    criSocketstring

    criSocket is used to retrieve container runtime info. This information will be annotated to the Node API object, for later re-use

    ignorePreflightErrorsarray

    ignorePreflightErrors provides a slice of pre-flight errors to be ignored when the current node is registered.

    imagePullPolicystring

    imagePullPolicy specifies the policy for image pulling during kubeadm "init" and "join" operations. The value of this field must be one of "Always", "IfNotPresent" or "Never". Defaults to "IfNotPresent". This can be used only with Kubernetes version equal to 1.22 and later.

    imagePullSerialboolean

    imagePullSerial specifies if image pulling performed by kubeadm must be done serially or in parallel. This option takes effect only on Kubernetes >=1.31.0. Default: true (defaulted in kubeadm)

    kubeletExtraArgsobject

    kubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file kubeadm writes at runtime for the kubelet to source. This overrides the generic base-level configuration in the kubelet-config-1.X ConfigMap Flags have higher priority when parsing. These values are local and specific to the node kubeadm is executing on.

    namestring

    name is the .Metadata.Name field of the Node API object that will be created in this kubeadm init or kubeadm join operation. This field is also used in the CommonName field of the kubelet's client certificate to the API server. Defaults to the hostname of the node if not provided.

    taintsarray

    taints specifies the taints the Node API object should be registered with. If this field is unset, i.e. nil, in the kubeadm init process it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an empty slice, i.e. taints: [] in the YAML file. This field is solely used for Node registration.

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.nodeRegistration.ignorePreflightErrors

    Description
    ignorePreflightErrors provides a slice of pre-flight errors to be ignored when the current node is registered.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.nodeRegistration.ignorePreflightErrors[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.nodeRegistration.kubeletExtraArgs

    Description
    kubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file kubeadm writes at runtime for the kubelet to source. This overrides the generic base-level configuration in the kubelet-config-1.X ConfigMap Flags have higher priority when parsing. These values are local and specific to the node kubeadm is executing on.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.nodeRegistration.taints

    Description
    taints specifies the taints the Node API object should be registered with. If this field is unset, i.e. nil, in the `kubeadm init` process it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an empty slice, i.e. `taints: []` in the YAML file. This field is solely used for Node registration.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.nodeRegistration.taints[]

    Description
    The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
    Type
    object
    Required
    effectkey
    PropertyTypeDescription
    effectstring

    Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

    keystring

    Required. The taint key to be applied to a node.

    timeAddedstring

    TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.

    valuestring

    The taint value corresponding to the taint key.

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.patches

    Description
    patches contains options related to applying patches to components deployed by kubeadm during "kubeadm init". The minimum kubernetes version needed to support Patches is v1.22
    Type
    object
    PropertyTypeDescription
    directorystring

    directory is a path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd". "patchtype" can be one of "strategic" "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically. These files can be written into the target directory via KubeadmConfig.Files which specifies additional files to be created on the machine, either with content inline or by referencing a secret.

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.skipPhases

    Description
    skipPhases is a list of phases to skip during command execution. The list of phases can be obtained with the "kubeadm init --help" command. This option takes effect only on Kubernetes >=1.22.0.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.initConfiguration.skipPhases[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration

    Description
    joinConfiguration is the kubeadm configuration for the join command
    Type
    object
    PropertyTypeDescription
    apiVersionstring

    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

    caCertPathstring

    caCertPath is the path to the SSL certificate authority used to secure comunications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt".

    controlPlaneobject

    controlPlane defines the additional control plane instance to be deployed on the joining node. If nil, no additional control plane instance will be deployed.

    discoveryobject

    discovery specifies the options for the kubelet to use during the TLS Bootstrap process

    kindstring

    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

    nodeRegistrationobject

    nodeRegistration holds fields that relate to registering the new control-plane node to the cluster. When used in the context of control plane nodes, NodeRegistration should remain consistent across both InitConfiguration and JoinConfiguration

    patchesobject

    patches contains options related to applying patches to components deployed by kubeadm during "kubeadm join". The minimum kubernetes version needed to support Patches is v1.22

    skipPhasesarray

    skipPhases is a list of phases to skip during command execution. The list of phases can be obtained with the "kubeadm init --help" command. This option takes effect only on Kubernetes >=1.22.0.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.controlPlane

    Description
    controlPlane defines the additional control plane instance to be deployed on the joining node. If nil, no additional control plane instance will be deployed.
    Type
    object
    PropertyTypeDescription
    localAPIEndpointobject

    localAPIEndpoint represents the endpoint of the API server instance to be deployed on this node.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.controlPlane.localAPIEndpoint

    Description
    localAPIEndpoint represents the endpoint of the API server instance to be deployed on this node.
    Type
    object
    PropertyTypeDescription
    advertiseAddressstring

    advertiseAddress sets the IP address for the API server to advertise.

    bindPortinteger

    bindPort sets the secure port for the API Server to bind to. Defaults to 6443.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery

    Description
    discovery specifies the options for the kubelet to use during the TLS Bootstrap process
    Type
    object
    PropertyTypeDescription
    bootstrapTokenobject

    bootstrapToken is used to set the options for bootstrap token based discovery BootstrapToken and File are mutually exclusive

    fileobject

    file is used to specify a file or URL to a kubeconfig file from which to load cluster information BootstrapToken and File are mutually exclusive

    timeoutstring

    timeout modifies the discovery timeout

    tlsBootstrapTokenstring

    tlsBootstrapToken is a token used for TLS bootstrapping. If .BootstrapToken is set, this field is defaulted to .BootstrapToken.Token, but can be overridden. If .File is set, this field must be set in case the KubeConfigFile does not contain any other authentication information

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.bootstrapToken

    Description
    bootstrapToken is used to set the options for bootstrap token based discovery BootstrapToken and File are mutually exclusive
    Type
    object
    PropertyTypeDescription
    apiServerEndpointstring

    apiServerEndpoint is an IP or domain name to the API server from which info will be fetched.

    caCertHashesarray

    caCertHashes specifies a set of public key pins to verify when token-based discovery is used. The root CA found during discovery must match one of these values. Specifying an empty set disables root CA pinning, which can be unsafe. Each hash is specified as ":", where the only currently supported type is "sha256". This is a hex-encoded SHA-256 hash of the Subject Public Key Info (SPKI) object in DER-encoded ASN.1. These hashes can be calculated using, for example, OpenSSL: openssl x509 -pubkey -in ca.crt openssl rsa -pubin -outform der 2>&/dev/null | openssl dgst -sha256 -hex

    tokenstring

    token is a token used to validate cluster information fetched from the control-plane.

    unsafeSkipCAVerificationboolean

    unsafeSkipCAVerification allows token-based discovery without CA verification via CACertHashes. This can weaken the security of kubeadm since other nodes can impersonate the control-plane.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.bootstrapToken.caCertHashes

    Description
    caCertHashes specifies a set of public key pins to verify when token-based discovery is used. The root CA found during discovery must match one of these values. Specifying an empty set disables root CA pinning, which can be unsafe. Each hash is specified as "<type>:<value>", where the only currently supported type is "sha256". This is a hex-encoded SHA-256 hash of the Subject Public Key Info (SPKI) object in DER-encoded ASN.1. These hashes can be calculated using, for example, OpenSSL: openssl x509 -pubkey -in ca.crt openssl rsa -pubin -outform der 2>&/dev/null | openssl dgst -sha256 -hex
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.bootstrapToken.caCertHashes[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file

    Description
    file is used to specify a file or URL to a kubeconfig file from which to load cluster information BootstrapToken and File are mutually exclusive
    Type
    object
    Required
    kubeConfigPath
    PropertyTypeDescription
    kubeConfigobject

    kubeConfig is used (optionally) to generate a KubeConfig based on the KubeadmConfig's information. The file is generated at the path specified in KubeConfigPath.

    Host address (server field) information is automatically populated based on the Cluster's ControlPlaneEndpoint. Certificate Authority (certificate-authority-data field) is gathered from the cluster's CA secret.

    kubeConfigPathstring

    kubeConfigPath is used to specify the actual file path or URL to the kubeconfig file from which to load cluster information

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig

    Description
    kubeConfig is used (optionally) to generate a KubeConfig based on the KubeadmConfig's information. The file is generated at the path specified in KubeConfigPath. Host address (server field) information is automatically populated based on the Cluster's ControlPlaneEndpoint. Certificate Authority (certificate-authority-data field) is gathered from the cluster's CA secret.
    Type
    object
    Required
    user
    PropertyTypeDescription
    clusterobject

    cluster contains information about how to communicate with the kubernetes cluster.

    By default the following fields are automatically populated:

    • Server with the Cluster's ControlPlaneEndpoint.
    • CertificateAuthorityData with the Cluster's CA certificate.
    userobject

    user contains information that describes identity information. This is used to tell the kubernetes cluster who you are.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.cluster

    Description
    cluster contains information about how to communicate with the kubernetes cluster. By default the following fields are automatically populated: - Server with the Cluster's ControlPlaneEndpoint. - CertificateAuthorityData with the Cluster's CA certificate.
    Type
    object
    PropertyTypeDescription
    certificateAuthorityDatastring

    certificateAuthorityData contains PEM-encoded certificate authority certificates.

    Defaults to the Cluster's CA certificate if empty.

    insecureSkipTLSVerifyboolean

    insecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure.

    proxyURLstring

    proxyURL is the URL to the proxy to be used for all requests made by this client. URLs with "http", "https", and "socks5" schemes are supported. If this configuration is not provided or the empty string, the client attempts to construct a proxy configuration from http_proxy and https_proxy environment variables. If these environment variables are not set, the client does not attempt to proxy requests.

    socks5 proxying does not currently support spdy streaming endpoints (exec, attach, port forward).

    serverstring

    server is the address of the kubernetes cluster (https://hostname:port).

    Defaults to https:// + Cluster.Spec.ControlPlaneEndpoint.

    tlsServerNamestring

    tlsServerName is used to check server certificate. If TLSServerName is empty, the hostname used to contact the server is used.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user

    Description
    user contains information that describes identity information. This is used to tell the kubernetes cluster who you are.
    Type
    object
    PropertyTypeDescription
    authProviderobject

    authProvider specifies a custom authentication plugin for the kubernetes cluster.

    execobject

    exec specifies a custom exec-based authentication plugin for the kubernetes cluster.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user.authProvider

    Description
    authProvider specifies a custom authentication plugin for the kubernetes cluster.
    Type
    object
    Required
    name
    PropertyTypeDescription
    configobject

    config holds the parameters for the authentication plugin.

    namestring

    name is the name of the authentication plugin.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user.authProvider.config

    Description
    config holds the parameters for the authentication plugin.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user.exec

    Description
    exec specifies a custom exec-based authentication plugin for the kubernetes cluster.
    Type
    object
    Required
    command
    PropertyTypeDescription
    apiVersionstring

    apiVersion is preferred input version of the ExecInfo. The returned ExecCredentials MUST use the same encoding version as the input. Defaults to client.authentication.k8s.io/v1 if not set.

    argsarray

    args is the arguments to pass to the command when executing it.

    commandstring

    command to execute.

    envarray

    env defines additional environment variables to expose to the process. These are unioned with the host's environment, as well as variables client-go uses to pass argument to the plugin.

    provideClusterInfoboolean

    provideClusterInfo determines whether or not to provide cluster information, which could potentially contain very large CA data, to this exec plugin as a part of the KUBERNETES_EXEC_INFO environment variable. By default, it is set to false. Package k8s.io/client-go/tools/auth/exec provides helper methods for reading this environment variable.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user.exec.args

    Description
    args is the arguments to pass to the command when executing it.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user.exec.args[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user.exec.env

    Description
    env defines additional environment variables to expose to the process. These are unioned with the host's environment, as well as variables client-go uses to pass argument to the plugin.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.discovery.file.kubeConfig.user.exec.env[]

    Description
    KubeConfigAuthExecEnv is used for setting environment variables when executing an exec-based credential plugin.
    Type
    object
    Required
    namevalue
    PropertyTypeDescription
    namestring

    name of the environment variable

    valuestring

    value of the environment variable

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.nodeRegistration

    Description
    nodeRegistration holds fields that relate to registering the new control-plane node to the cluster. When used in the context of control plane nodes, NodeRegistration should remain consistent across both InitConfiguration and JoinConfiguration
    Type
    object
    PropertyTypeDescription
    criSocketstring

    criSocket is used to retrieve container runtime info. This information will be annotated to the Node API object, for later re-use

    ignorePreflightErrorsarray

    ignorePreflightErrors provides a slice of pre-flight errors to be ignored when the current node is registered.

    imagePullPolicystring

    imagePullPolicy specifies the policy for image pulling during kubeadm "init" and "join" operations. The value of this field must be one of "Always", "IfNotPresent" or "Never". Defaults to "IfNotPresent". This can be used only with Kubernetes version equal to 1.22 and later.

    imagePullSerialboolean

    imagePullSerial specifies if image pulling performed by kubeadm must be done serially or in parallel. This option takes effect only on Kubernetes >=1.31.0. Default: true (defaulted in kubeadm)

    kubeletExtraArgsobject

    kubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file kubeadm writes at runtime for the kubelet to source. This overrides the generic base-level configuration in the kubelet-config-1.X ConfigMap Flags have higher priority when parsing. These values are local and specific to the node kubeadm is executing on.

    namestring

    name is the .Metadata.Name field of the Node API object that will be created in this kubeadm init or kubeadm join operation. This field is also used in the CommonName field of the kubelet's client certificate to the API server. Defaults to the hostname of the node if not provided.

    taintsarray

    taints specifies the taints the Node API object should be registered with. If this field is unset, i.e. nil, in the kubeadm init process it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an empty slice, i.e. taints: [] in the YAML file. This field is solely used for Node registration.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.nodeRegistration.ignorePreflightErrors

    Description
    ignorePreflightErrors provides a slice of pre-flight errors to be ignored when the current node is registered.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.nodeRegistration.ignorePreflightErrors[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.nodeRegistration.kubeletExtraArgs

    Description
    kubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file kubeadm writes at runtime for the kubelet to source. This overrides the generic base-level configuration in the kubelet-config-1.X ConfigMap Flags have higher priority when parsing. These values are local and specific to the node kubeadm is executing on.
    Type
    object

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.nodeRegistration.taints

    Description
    taints specifies the taints the Node API object should be registered with. If this field is unset, i.e. nil, in the `kubeadm init` process it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an empty slice, i.e. `taints: []` in the YAML file. This field is solely used for Node registration.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.nodeRegistration.taints[]

    Description
    The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
    Type
    object
    Required
    effectkey
    PropertyTypeDescription
    effectstring

    Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

    keystring

    Required. The taint key to be applied to a node.

    timeAddedstring

    TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.

    valuestring

    The taint value corresponding to the taint key.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.patches

    Description
    patches contains options related to applying patches to components deployed by kubeadm during "kubeadm join". The minimum kubernetes version needed to support Patches is v1.22
    Type
    object
    PropertyTypeDescription
    directorystring

    directory is a path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd". "patchtype" can be one of "strategic" "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically. These files can be written into the target directory via KubeadmConfig.Files which specifies additional files to be created on the machine, either with content inline or by referencing a secret.

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.skipPhases

    Description
    skipPhases is a list of phases to skip during command execution. The list of phases can be obtained with the "kubeadm init --help" command. This option takes effect only on Kubernetes >=1.22.0.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.joinConfiguration.skipPhases[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.mounts

    Description
    mounts specifies a list of mount points to be setup.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.mounts[]

    Description
    MountPoints defines input for generated mounts in cloud-init.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.ntp

    Description
    ntp specifies NTP configuration
    Type
    object
    PropertyTypeDescription
    enabledboolean

    enabled specifies whether NTP should be enabled

    serversarray

    servers specifies which NTP servers to use

    .spec.template.spec.kubeadmConfigSpec.ntp.servers

    Description
    servers specifies which NTP servers to use
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.ntp.servers[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.postKubeadmCommands

    Description
    postKubeadmCommands specifies extra commands to run after kubeadm runs. With cloud-init, this is appended to the runcmd module configuration, and is typically executed in the cloud-final.service systemd unit. In Ignition, this is appended to /etc/kubeadm.sh.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.postKubeadmCommands[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.preKubeadmCommands

    Description
    preKubeadmCommands specifies extra commands to run before kubeadm runs. With cloud-init, this is prepended to the runcmd module configuration, and is typically executed in the cloud-final.service systemd unit. In Ignition, this is prepended to /etc/kubeadm.sh.
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.preKubeadmCommands[]

    Type
    string

    .spec.template.spec.kubeadmConfigSpec.users

    Description
    users specifies extra users to add
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.users[]

    Description
    User defines the input for a generated user in cloud-init.
    Type
    object
    Required
    name
    PropertyTypeDescription
    gecosstring

    gecos specifies the gecos to use for the user

    groupsstring

    groups specifies the additional groups for the user

    homeDirstring

    homeDir specifies the home directory to use for the user

    inactiveboolean

    inactive specifies whether to mark the user as inactive

    lockPasswordboolean

    lockPassword specifies if password login should be disabled

    namestring

    name specifies the user name

    passwdstring

    passwd specifies a hashed password for the user

    passwdFromobject

    passwdFrom is a referenced source of passwd to populate the passwd.

    primaryGroupstring

    primaryGroup specifies the primary group for the user

    shellstring

    shell specifies the user's shell

    sshAuthorizedKeysarray

    sshAuthorizedKeys specifies a list of ssh authorized keys for the user

    sudostring

    sudo specifies a sudo role for the user

    .spec.template.spec.kubeadmConfigSpec.users[].passwdFrom

    Description
    passwdFrom is a referenced source of passwd to populate the passwd.
    Type
    object
    Required
    secret
    PropertyTypeDescription
    secretobject

    secret represents a secret that should populate this password.

    .spec.template.spec.kubeadmConfigSpec.users[].passwdFrom.secret

    Description
    secret represents a secret that should populate this password.
    Type
    object
    Required
    keyname
    PropertyTypeDescription
    keystring

    key is the key in the secret's data map for this value.

    namestring

    name of the secret in the KubeadmBootstrapConfig's namespace to use.

    .spec.template.spec.kubeadmConfigSpec.users[].sshAuthorizedKeys

    Description
    sshAuthorizedKeys specifies a list of ssh authorized keys for the user
    Type
    array

    .spec.template.spec.kubeadmConfigSpec.users[].sshAuthorizedKeys[]

    Type
    string

    .spec.template.spec.machineNamingStrategy

    Description
    machineNamingStrategy allows changing the naming pattern used when creating Machines. InfraMachines & KubeadmConfigs will use the same name as the corresponding Machines.
    Type
    object
    PropertyTypeDescription
    templatestring

    template defines the template to use for generating the names of the Machine objects. If not defined, it will fallback to {{ .kubeadmControlPlane.name }}-{{ .random }}. If the generated name string exceeds 63 characters, it will be trimmed to 58 characters and will get concatenated with a random suffix of length 5. Length of the template string must not exceed 256 characters. The template allows the following variables .cluster.name, .kubeadmControlPlane.name and .random. The variable .cluster.name retrieves the name of the cluster object that owns the Machines being created. The variable .kubeadmControlPlane.name retrieves the name of the KubeadmControlPlane object that owns the Machines being created. The variable .random is substituted with random alphanumeric string, without vowels, of length 5. This variable is required part of the template. If not provided, validation will fail.

    .spec.template.spec.machineTemplate

    Description
    machineTemplate contains information about how machines should be shaped when creating or updating a control plane.
    Type
    object
    PropertyTypeDescription
    metadataObjectMeta

    metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    nodeDeletionTimeoutstring

    nodeDeletionTimeout defines how long the machine controller will attempt to delete the Node that the Machine hosts after the Machine is marked for deletion. A duration of 0 will retry deletion indefinitely. If no value is provided, the default value for this property of the Machine resource will be used.

    nodeDrainTimeoutstring

    nodeDrainTimeout is the total amount of time that the controller will spend on draining a controlplane node The default value is 0, meaning that the node can be drained without any time limitations. NOTE: NodeDrainTimeout is different from kubectl drain --timeout

    nodeVolumeDetachTimeoutstring

    nodeVolumeDetachTimeout is the total amount of time that the controller will spend on waiting for all volumes to be detached. The default value is 0, meaning that the volumes can be detached without any time limitations.

    .spec.template.spec.remediationStrategy

    Description
    remediationStrategy is the RemediationStrategy that controls how control plane machine remediation happens.
    Type
    object
    PropertyTypeDescription
    maxRetryinteger

    maxRetry is the Max number of retries while attempting to remediate an unhealthy machine. A retry happens when a machine that was created as a replacement for an unhealthy machine also fails. For example, given a control plane with three machines M1, M2, M3:

    M1 become unhealthy; remediation happens, and M1-1 is created as a replacement.
    If M1-1 (replacement of M1) has problems while bootstrapping it will become unhealthy, and then be
    remediated; such operation is considered a retry, remediation-retry #1.
    If M1-2 (replacement of M1-1) becomes unhealthy, remediation-retry #2 will happen, etc.
    

    A retry could happen only after RetryPeriod from the previous retry. If a machine is marked as unhealthy after MinHealthyPeriod from the previous remediation expired, this is not considered a retry anymore because the new issue is assumed unrelated from the previous one.

    If not set, the remedation will be retried infinitely.

    minHealthyPeriodstring

    minHealthyPeriod defines the duration after which KCP will consider any failure to a machine unrelated from the previous one. In this case the remediation is not considered a retry anymore, and thus the retry counter restarts from 0. For example, assuming MinHealthyPeriod is set to 1h (default)

    M1 become unhealthy; remediation happens, and M1-1 is created as a replacement.
    If M1-1 (replacement of M1) has problems within the 1hr after the creation, also
    this machine will be remediated and this operation is considered a retry - a problem related
    to the original issue happened to M1 -.
    
    If instead the problem on M1-1 is happening after MinHealthyPeriod expired, e.g. four days after
    m1-1 has been created as a remediation of M1, the problem on M1-1 is considered unrelated to
    the original issue happened to M1.
    

    If not set, this value is defaulted to 1h.

    retryPeriodstring

    retryPeriod is the duration that KCP should wait before remediating a machine being created as a replacement for an unhealthy machine (a retry).

    If not set, a retry will happen immediately.

    .spec.template.spec.rolloutBefore

    Description
    rolloutBefore is a field to indicate a rollout should be performed if the specified criteria is met.
    Type
    object
    PropertyTypeDescription
    certificatesExpiryDaysinteger

    certificatesExpiryDays indicates a rollout needs to be performed if the certificates of the machine will expire within the specified days.

    .spec.template.spec.rolloutStrategy

    Description
    rolloutStrategy is the RolloutStrategy to use to replace control plane machines with new ones.
    Type
    object
    PropertyTypeDescription
    rollingUpdateobject

    rollingUpdate is the rolling update config params. Present only if RolloutStrategyType = RollingUpdate.

    typestring

    type of rollout. Currently the only supported strategy is "RollingUpdate". Default is RollingUpdate.

    .spec.template.spec.rolloutStrategy.rollingUpdate

    Description
    rollingUpdate is the rolling update config params. Present only if RolloutStrategyType = RollingUpdate.
    Type
    object
    PropertyTypeDescription
    maxSurge

    maxSurge is the maximum number of control planes that can be scheduled above or under the desired number of control planes. Value can be an absolute number 1 or 0. Defaults to 1. Example: when this is set to 1, the control plane can be scaled up immediately when the rolling update starts.

    API Endpoints

    The following API endpoints are available:

    • /apis/controlplane.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/kubeadmcontrolplanetemplates
      • DELETE: delete collection of KubeadmControlPlaneTemplate
      • GET: list objects of kind KubeadmControlPlaneTemplate
      • POST: create a new KubeadmControlPlaneTemplate
    • /apis/controlplane.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/kubeadmcontrolplanetemplates/{name}
      • DELETE: delete the specified KubeadmControlPlaneTemplate
      • GET: read the specified KubeadmControlPlaneTemplate
      • PATCH: partially update the specified KubeadmControlPlaneTemplate
      • PUT: replace the specified KubeadmControlPlaneTemplate

    /apis/controlplane.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/kubeadmcontrolplanetemplates

    HTTP method
    DELETE
    Description
    delete collection of KubeadmControlPlaneTemplate
    HTTP responses
    HTTP codeResponse body
    200 - OKStatus schema
    401 - UnauthorizedEmpty
    HTTP method
    GET
    Description
    list objects of kind KubeadmControlPlaneTemplate
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmControlPlaneTemplateList schema
    401 - UnauthorizedEmpty
    HTTP method
    POST
    Description
    create a new KubeadmControlPlaneTemplate
    Query parameters
    ParameterTypeDescription
    dryRunstringWhen 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
    fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
    Body parameters
    ParameterTypeDescription
    bodyKubeadmControlPlaneTemplate schemaapplication/json formatted
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmControlPlaneTemplate schema
    201 - CreatedKubeadmControlPlaneTemplate schema
    202 - AcceptedKubeadmControlPlaneTemplate schema
    401 - UnauthorizedEmpty

    /apis/controlplane.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/kubeadmcontrolplanetemplates/{name}

    HTTP method
    DELETE
    Description
    delete the specified KubeadmControlPlaneTemplate
    Query parameters
    ParameterTypeDescription
    dryRunstringWhen 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
    HTTP responses
    HTTP codeResponse body
    200 - OKStatus schema
    202 - AcceptedStatus schema
    401 - UnauthorizedEmpty
    HTTP method
    GET
    Description
    read the specified KubeadmControlPlaneTemplate
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmControlPlaneTemplate schema
    401 - UnauthorizedEmpty
    HTTP method
    PATCH
    Description
    partially update the specified KubeadmControlPlaneTemplate
    Query parameters
    ParameterTypeDescription
    dryRunstringWhen 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
    fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmControlPlaneTemplate schema
    401 - UnauthorizedEmpty
    HTTP method
    PUT
    Description
    replace the specified KubeadmControlPlaneTemplate
    Query parameters
    ParameterTypeDescription
    dryRunstringWhen 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
    fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
    Body parameters
    ParameterTypeDescription
    bodyKubeadmControlPlaneTemplate schemaapplication/json formatted
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmControlPlaneTemplate schema
    201 - CreatedKubeadmControlPlaneTemplate schema
    401 - UnauthorizedEmpty