kubernetes/cmd/kubeadm/app/constants/constants.go

const KubernetesDir

const ManifestsSubDirName

const TempDir

const CertificateBackdate

const CertificateValidityPeriod

const CACertificateValidityPeriod

const DefaultCertificateDir

const CACertAndKeyBaseName

const CACertName

const CAKeyName

const APIServerCertAndKeyBaseName

const APIServerCertName

const APIServerKeyName

const APIServerCertCommonName

const APIServerKubeletClientCertAndKeyBaseName

const APIServerKubeletClientCertName

const APIServerKubeletClientKeyName

const APIServerKubeletClientCertCommonName

const EtcdCACertAndKeyBaseName

const EtcdCACertName

const EtcdCAKeyName

const EtcdServerCertAndKeyBaseName

const EtcdServerCertName

const EtcdServerKeyName

const EtcdListenClientPort

const EtcdMetricsPort

const EtcdPeerCertAndKeyBaseName

const EtcdPeerCertName

const EtcdPeerKeyName

const EtcdListenPeerPort

const EtcdHealthcheckClientCertAndKeyBaseName

const EtcdHealthcheckClientCertName

const EtcdHealthcheckClientKeyName

const EtcdHealthcheckClientCertCommonName

const APIServerEtcdClientCertAndKeyBaseName

const APIServerEtcdClientCertName

const APIServerEtcdClientKeyName

const APIServerEtcdClientCertCommonName

const ServiceAccountKeyBaseName

const ServiceAccountPublicKeyName

const ServiceAccountPrivateKeyName

const FrontProxyCACertAndKeyBaseName

const FrontProxyCACertName

const FrontProxyCAKeyName

const FrontProxyClientCertAndKeyBaseName

const FrontProxyClientCertName

const FrontProxyClientKeyName

const FrontProxyClientCertCommonName

const AdminKubeConfigFileName

const SuperAdminKubeConfigFileName

const KubeletBootstrapKubeConfigFileName

const KubeletKubeConfigFileName

const ControllerManagerKubeConfigFileName

const SchedulerKubeConfigFileName

const ControllerManagerUser

const SchedulerUser

const NodesUserPrefix

const SystemPrivilegedGroup

const NodesGroup

const NodeBootstrapTokenAuthGroup

const KubeProxyClusterRoleName

const NodeBootstrapperClusterRoleName

const CSRAutoApprovalClusterRoleName

const NodeSelfCSRAutoApprovalClusterRoleName

const NodesClusterRoleBinding

const KubeletBaseConfigMapRole

const KubeProxyClusterRoleBindingName

const NodeKubeletBootstrap

const GetNodesClusterRoleName

const NodeAutoApproveBootstrapClusterRoleBinding

const NodeAutoApproveCertificateRotationClusterRoleBinding

const ClusterAdminsGroupAndClusterRoleBinding

const KubernetesAPICallTimeout

const KubernetesAPICallRetryInterval

const DiscoveryTimeout

const DiscoveryRetryInterval

const TLSBootstrapTimeout

const TLSBootstrapRetryInterval

const EtcdAPICallTimeout

const EtcdAPICallRetryInterval

const ControlPlaneComponentHealthCheckTimeout

const KubeletHealthCheckTimeout

const UpgradeManifestsTimeout

const PullImageRetry

const RemoveContainerRetry

const MinimumAddressesInServiceSubnet

const MaximumBitsForServiceSubnet

const MinimumAddressesInPodSubnet

const PodSubnetNodeMaskMaxDiff

const DefaultCertTokenDuration

const CertificateKeySize

const LabelNodeRoleControlPlane

const LabelExcludeFromExternalLB

const AnnotationKubeadmCRISocket

const KubeadmConfigConfigMap

const ClusterConfigurationConfigMapKey

const KubeProxyConfigMap

const KubeProxyConfigMapKey

const KubeletBaseConfigurationConfigMap

const KubeletBaseConfigurationConfigMapKey

const KubeletRunDirectory

const KubeletConfigurationFileName

const KubeletEnvFileName

const KubeletEnvFileVariableName

const KubeletHealthzPort

const MinExternalEtcdVersion

const DefaultEtcdVersion

const Etcd

const KubeAPIServer

const KubeControllerManager

const KubeScheduler

const KubeProxy

const CoreDNS

const Kubelet

const Kubeadm

const KubeCertificatesVolumeName

const KubeConfigVolumeName

const DefaultCIImageRepository

const CoreDNSConfigMap

const CoreDNSDeploymentName

const CoreDNSImageName

const CoreDNSVersion

const ClusterConfigurationKind

const InitConfigurationKind

const JoinConfigurationKind

const ResetConfigurationKind

const YAMLDocumentSeparator

const CIKubernetesVersionPrefix

const DefaultAPIServerBindAddress

const ControlPlaneNumCPU

const ControlPlaneMem

const KubeadmCertsSecret

const KubeletPort

const KubeSchedulerPort

const KubeControllerManagerPort

const KubeAPIServerPort

const EtcdAdvertiseClientUrlsAnnotationKey

const KubeAPIServerAdvertiseAddressEndpointAnnotationKey

const ComponentConfigHashAnnotationKey

const ControlPlaneTier

const ModeAlwaysAllow

const ModeAlwaysDeny

const ModeABAC

const ModeWebhook

const ModeRBAC

const ModeNode

const PauseVersion

const CgroupDriverSystemd

const KubeControllerManagerUserName

const KubeAPIServerUserName

const KubeSchedulerUserName

const EtcdUserName

const ServiceAccountKeyReadersGroupName

const UpgradeConfigurationKind

const EnvVarInitDryRunDir

const EnvVarJoinDryRunDir

const EnvVarUpgradeDryRunDir

var ControlPlaneTaint

var ControlPlaneToleration

var ControlPlaneComponents

var MinimumControlPlaneVersion

var MinimumKubeletVersion

var CurrentKubernetesVersion

var SupportedEtcdVersion

var KubeadmCertsClusterRoleName

var DefaultKubernetesPlaceholderVersion

// getSkewedKubernetesVersion returns the current MAJOR.(MINOR+n).0 Kubernetes version with a skew of 'n'
// It uses the kubeadm version provided by the 'component-base/version' package. This version must be populated
// by passing linker flags during the kubeadm build process. If the version is empty, assume that kubeadm
// was either build incorrectly or this code is running in unit tests.
func getSkewedKubernetesVersion(n int) *version.Version {}

func getSkewedKubernetesVersionImpl(versionInfo *apimachineryversion.Info, n int) *version.Version {}

// EtcdSupportedVersion returns officially supported version of etcd for a specific Kubernetes release
// If passed version is not in the given list, the function returns the nearest version with a warning
func EtcdSupportedVersion(supportedEtcdVersion map[uint8]string, versionString string) (etcdVersion *version.Version, warning, err error) {}

// GetStaticPodDirectory returns the location on the disk where the Static Pod should be present
func GetStaticPodDirectory() string {}

// GetStaticPodFilepath returns the location on the disk where the Static Pod should be present
func GetStaticPodFilepath(componentName, manifestsDir string) string {}

// GetAdminKubeConfigPath returns the location on the disk where admin kubeconfig is located by default
func GetAdminKubeConfigPath() string {}

// GetKubeletKubeConfigPath returns the location on the disk where kubelet kubeconfig is located by default
func GetKubeletKubeConfigPath() string {}

// GetDryRunDir creates a temporary directory under /etc/kubernetes/tmp.
// If the environment variable with name stored in envVar is set, it is used instead.
// msgFunc will be used to print a message to the user that they can use envVar for override.
func GetDryRunDir(envVar, dirName string, msgFunc func(format string, args ...interface{}

// CreateTempDir creates a temporary directory under /etc/kubernetes/tmp
// or under the provided parent directory if it's set.
func CreateTempDir(parent, dirName string) (string, error) {}

func createTmpDir(tempDir, dirName string) (string, error) {}

// CreateTimestampDir is a function that creates a temporary directory under /etc/kubernetes/tmp formatted with the current date
func CreateTimestampDir(kubernetesDir, dirName string) (string, error) {}

// GetDNSIP returns a dnsIP, which is 10th IP in svcSubnet CIDR range
func GetDNSIP(svcSubnetList string) (net.IP, error) {}

// GetKubernetesServiceCIDR returns the default Service CIDR for the Kubernetes internal service
func GetKubernetesServiceCIDR(svcSubnetList string) (*net.IPNet, error) {}

// GetAPIServerVirtualIP returns the IP of the internal Kubernetes API service
func GetAPIServerVirtualIP(svcSubnetList string) (net.IP, error) {}