# Functions
AddSelfHostedPrefix adds the self-hosted- prefix to the component name.
CreateTempDirForKubeadm is a function that creates a temporary directory under /etc/kubernetes/tmp (not using /tmp as that would potentially be dangerous).
GetAdminKubeConfigPath returns the location on the disk where admin kubeconfig is located by default.
GetNodeBootstrapTokenAuthGroup gets the bootstrap token auth group conditionally based on version.
GetStaticPodDirectory returns the location on the disk where the Static Pod should be present.
GetStaticPodFilepath returns the location on the disk where the Static Pod should be present.
# Constants
No description provided by the author
APICallRetryInterval defines how long kubeadm should wait before retrying a failed API operation.
No description provided by the author
used as subject.commonname attribute (CN).
No description provided by the author
No description provided by the author
No description provided by the author
used as subject.commonname attribute (CN).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultCIImageRepository points to image registry where CI uploads images from ci-cross build job.
DefaultEtcdVersion indicates the default etcd version that kubeadm uses.
DefaultTokenDuration specifies the default amount of time that a bootstrap token will be valid Default behaviour is 24 hours.
DiscoveryRetryInterval specifies how long kubeadm should wait before retrying to connect to the master when doing discovery.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
used as subject.commonname attribute (CN).
No description provided by the author
No description provided by the author
No description provided by the author
KubeCertificatesVolumeName specifies the name for the Volume that is used for injecting certificates to control plane components (can be both a hostPath volume or a projected, all-in-one volume).
KubeConfigVolumeName specifies the name for the Volume that is used for injecting the kubeconfig to talk securely to the api server for a control plane component if applicable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LabelNodeRoleMaster specifies that a node is a master It's copied over to kubeadm until it's merged in core: https://github.com/kubernetes/kubernetes/pull/39112.
No description provided by the author
MarkMasterTimeout specifies how long kubeadm should wait for applying the label and taint on the master before timing out.
MasterConfigurationConfigMap specifies in what ConfigMap in the kube-system namespace the `kubeadm init` configuration should be stored.
MasterConfigurationConfigMapKey specifies in what ConfigMap key the master configuration should be stored.
No description provided by the author
MinExternalEtcdVersion indicates minimum external etcd version which kubeadm supports.
Minimum amount of nodes the Service subnet should allow.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SelfHostingPrefix describes the prefix workloads that are self-hosted by kubeadm has.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V17NodeBootstrapTokenAuthGroup specifies which group a Node Bootstrap Token should be authenticated in, in v1.7.
V18NodeBootstrapTokenAuthGroup specifies which group a Node Bootstrap Token should be authenticated in, in v1.8.
# Variables
No description provided by the author
No description provided by the author
DefaultTokenUsages specifies the default functions a token will get.
KubernetesDir is the directory kubernetes owns for storing various configuration files This semi-constant MUST NOT be modified during runtime.
MasterComponents defines the master component names.
MasterTaint is the taint to apply on the PodSpec for being able to run that Pod on the master.
MasterToleration is the toleration to apply on the PodSpec for being able to run that Pod on the master.
MinimumControlPlaneVersion specifies the minimum control plane version kubeadm can deploy.
MinimumCSRAutoApprovalClusterRolesVersion defines whether kubeadm can rely on the built-in CSR approval ClusterRole or not (note, the binding is always created by kubeadm!) TODO: Remove this when the v1.9 cycle starts and we bump the minimum supported version to v1.8.0.
UseEnableBootstrapTokenAuthFlagVersion defines the first version where the API server supports the --enable-bootstrap-token-auth flag instead of the old and deprecated flag.