Documentation ¶
Overview ¶
Package kubeadm contains utils related to kubeadm.
Index ¶
Constants ¶
View Source
const ( // DefaultImageRepository is the new default Kubernetes image registry. DefaultImageRepository = "registry.k8s.io" // OldDefaultImageRepository is the old default Kubernetes image registry. OldDefaultImageRepository = "k8s.gcr.io" )
Variables ¶
View Source
var ( // MinKubernetesVersionImageRegistryMigration is the first Kubernetes minor version which // has patch versions where the default image registry in kubeadm is registry.k8s.io instead of k8s.gcr.io. MinKubernetesVersionImageRegistryMigration = semver.MustParse("1.22.0") // NextKubernetesVersionImageRegistryMigration is the next minor version after // the default image registry in kubeadm changed to registry.k8s.io. NextKubernetesVersionImageRegistryMigration = semver.MustParse("1.26.0") )
Functions ¶
func GetDefaultRegistry ¶
GetDefaultRegistry returns the default registry of the given kubeadm version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.