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

    Description
    KubeadmConfig is the Schema for the kubeadmconfigs 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 KubeadmConfig.

    statusobject

    status is the observed state of KubeadmConfig.

    .spec

    Description
    spec is the desired state of KubeadmConfig.
    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.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.bootCommands[]

    Type
    string

    .spec.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.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.clusterConfiguration.apiServer.certSANs

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

    .spec.clusterConfiguration.apiServer.certSANs[]

    Type
    string

    .spec.clusterConfiguration.apiServer.extraArgs

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

    .spec.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.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.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.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.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.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.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.clusterConfiguration.apiServer.extraVolumes

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

    .spec.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.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.clusterConfiguration.controllerManager.extraArgs

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

    .spec.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.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.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.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.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.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.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.clusterConfiguration.controllerManager.extraVolumes

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

    .spec.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.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.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.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.clusterConfiguration.etcd.external.endpoints

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

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

    Type
    string

    .spec.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.clusterConfiguration.etcd.local.extraArgs

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

    .spec.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.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.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.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.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.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.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.clusterConfiguration.etcd.local.peerCertSANs

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

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

    Type
    string

    .spec.clusterConfiguration.etcd.local.serverCertSANs

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

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

    Type
    string

    .spec.clusterConfiguration.featureGates

    Description
    featureGates enabled by the user.
    Type
    object

    .spec.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.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.clusterConfiguration.scheduler.extraArgs

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

    .spec.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.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.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.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.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.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.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.clusterConfiguration.scheduler.extraVolumes

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

    .spec.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.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.diskSetup.filesystems

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

    .spec.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.diskSetup.filesystems[].extraOpts

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

    .spec.diskSetup.filesystems[].extraOpts[]

    Type
    string

    .spec.diskSetup.partitions

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

    .spec.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.files

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

    .spec.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.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.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.ignition

    Description
    ignition contains Ignition specific configuration.
    Type
    object
    PropertyTypeDescription
    containerLinuxConfigobject

    containerLinuxConfig contains CLC specific configuration.

    .spec.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.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.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.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.initConfiguration.bootstrapTokens[].groups

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

    .spec.initConfiguration.bootstrapTokens[].groups[]

    Type
    string

    .spec.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.initConfiguration.bootstrapTokens[].usages[]

    Type
    string

    .spec.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.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.initConfiguration.nodeRegistration.ignorePreflightErrors

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

    .spec.initConfiguration.nodeRegistration.ignorePreflightErrors[]

    Type
    string

    .spec.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.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.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.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.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.initConfiguration.skipPhases[]

    Type
    string

    .spec.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.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.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.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.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.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.joinConfiguration.discovery.bootstrapToken.caCertHashes[]

    Type
    string

    .spec.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.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.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.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.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.joinConfiguration.discovery.file.kubeConfig.user.authProvider.config

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

    .spec.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.joinConfiguration.discovery.file.kubeConfig.user.exec.args

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

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

    Type
    string

    .spec.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.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.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.joinConfiguration.nodeRegistration.ignorePreflightErrors

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

    .spec.joinConfiguration.nodeRegistration.ignorePreflightErrors[]

    Type
    string

    .spec.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.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.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.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.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.joinConfiguration.skipPhases[]

    Type
    string

    .spec.mounts

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

    .spec.mounts[]

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

    .spec.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.ntp.servers

    Description
    servers specifies which NTP servers to use
    Type
    array

    .spec.ntp.servers[]

    Type
    string

    .spec.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.postKubeadmCommands[]

    Type
    string

    .spec.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.preKubeadmCommands[]

    Type
    string

    .spec.users

    Description
    users specifies extra users to add
    Type
    array

    .spec.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.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.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.users[].sshAuthorizedKeys

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

    .spec.users[].sshAuthorizedKeys[]

    Type
    string

    .status

    Description
    status is the observed state of KubeadmConfig.
    Type
    object
    PropertyTypeDescription
    conditionsarray

    conditions defines current service state of the KubeadmConfig.

    dataSecretNamestring

    dataSecretName is the name of the secret that stores the bootstrap data script.

    failureMessagestring

    failureMessage will be set on non-retryable errors

    Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.

    failureReasonstring

    failureReason will be set on non-retryable errors

    Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.

    observedGenerationinteger

    observedGeneration is the latest generation observed by the controller.

    readyboolean

    ready indicates the BootstrapData field is ready to be consumed

    v1beta2object

    v1beta2 groups all the fields that will be added or modified in KubeadmConfig's status with the V1Beta2 version.

    .status.conditions

    Description
    conditions defines current service state of the KubeadmConfig.
    Type
    array

    .status.conditions[]

    Description
    Condition defines an observation of a Cluster API resource operational state.
    Type
    object
    Required
    lastTransitionTimestatustype
    PropertyTypeDescription
    lastTransitionTimestring

    lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.

    messagestring

    message is a human readable message indicating details about the transition. This field may be empty.

    reasonstring

    reason is the reason for the condition's last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may be empty.

    severitystring

    severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False.

    statusstring

    status of the condition, one of True, False, Unknown.

    typestring

    type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important.

    .status.v1beta2

    Description
    v1beta2 groups all the fields that will be added or modified in KubeadmConfig's status with the V1Beta2 version.
    Type
    object
    PropertyTypeDescription
    conditionsarray

    conditions represents the observations of a KubeadmConfig's current state. Known condition types are Ready, DataSecretAvailable, CertificatesAvailable.

    .status.v1beta2.conditions

    Description
    conditions represents the observations of a KubeadmConfig's current state. Known condition types are Ready, DataSecretAvailable, CertificatesAvailable.
    Type
    array

    .status.v1beta2.conditions[]

    Description
    Condition contains details for one aspect of the current state of this API Resource.
    Type
    object
    Required
    lastTransitionTimemessagereasonstatustype
    PropertyTypeDescription
    lastTransitionTimestring

    lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.

    messagestring

    message is a human readable message indicating details about the transition. This may be an empty string.

    observedGenerationinteger

    observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

    reasonstring

    reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

    statusstring

    status of the condition, one of True, False, Unknown.

    typestring

    type of condition in CamelCase or in foo.example.com/CamelCase.

    API Endpoints

    The following API endpoints are available:

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

    /apis/bootstrap.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/kubeadmconfigs

    HTTP method
    DELETE
    Description
    delete collection of KubeadmConfig
    HTTP responses
    HTTP codeResponse body
    200 - OKStatus schema
    401 - UnauthorizedEmpty
    HTTP method
    GET
    Description
    list objects of kind KubeadmConfig
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmConfigList schema
    401 - UnauthorizedEmpty
    HTTP method
    POST
    Description
    create a new KubeadmConfig
    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
    bodyKubeadmConfig schemaapplication/json formatted
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmConfig schema
    201 - CreatedKubeadmConfig schema
    202 - AcceptedKubeadmConfig schema
    401 - UnauthorizedEmpty

    /apis/bootstrap.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/kubeadmconfigs/{name}

    HTTP method
    DELETE
    Description
    delete the specified KubeadmConfig
    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 KubeadmConfig
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmConfig schema
    401 - UnauthorizedEmpty
    HTTP method
    PATCH
    Description
    partially update the specified KubeadmConfig
    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 - OKKubeadmConfig schema
    401 - UnauthorizedEmpty
    HTTP method
    PUT
    Description
    replace the specified KubeadmConfig
    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
    bodyKubeadmConfig schemaapplication/json formatted
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmConfig schema
    201 - CreatedKubeadmConfig schema
    401 - UnauthorizedEmpty

    /apis/bootstrap.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/kubeadmconfigs/{name}/status

    HTTP method
    GET
    Description
    read status of the specified KubeadmConfig
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmConfig schema
    401 - UnauthorizedEmpty
    HTTP method
    PATCH
    Description
    partially update status of the specified KubeadmConfig
    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 - OKKubeadmConfig schema
    401 - UnauthorizedEmpty
    HTTP method
    PUT
    Description
    replace status of the specified KubeadmConfig
    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
    bodyKubeadmConfig schemaapplication/json formatted
    HTTP responses
    HTTP codeResponse body
    200 - OKKubeadmConfig schema
    201 - CreatedKubeadmConfig schema
    401 - UnauthorizedEmpty