Documentation ¶
Index ¶
- func GetAllImages(cfg *kubeadmapi.ClusterConfiguration) []string
- func GetDNSImage(cfg *kubeadmapi.ClusterConfiguration, imageName string) string
- func GetEtcdImage(cfg *kubeadmapi.ClusterConfiguration) string
- func GetGenericImage(prefix, image, tag string) string
- func GetKubernetesImage(image string, cfg *kubeadmapi.ClusterConfiguration) string
- func GetPauseImage(cfg *kubeadmapi.ClusterConfiguration) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllImages ¶ added in v1.11.0
func GetAllImages(cfg *kubeadmapi.ClusterConfiguration) []string
GetAllImages returns a list of container images kubeadm expects to use on a control plane node
func GetDNSImage ¶ added in v1.13.0
func GetDNSImage(cfg *kubeadmapi.ClusterConfiguration, imageName string) string
GetDNSImage generates and returns the image for the DNS, that can be CoreDNS or kube-dns. Given that kube-dns uses 3 containers, an additional imageName parameter was added
func GetEtcdImage ¶ added in v1.12.0
func GetEtcdImage(cfg *kubeadmapi.ClusterConfiguration) string
GetEtcdImage generates and returns the image for etcd
func GetGenericImage ¶ added in v1.11.1
GetGenericImage generates and returns a platform agnostic image (backed by manifest list)
func GetKubernetesImage ¶ added in v1.13.0
func GetKubernetesImage(image string, cfg *kubeadmapi.ClusterConfiguration) string
GetKubernetesImage generates and returns the image for the components managed in the Kubernetes main repository, including the control-plane components ad kube-proxy. If specified, the HyperKube image will be used.
func GetPauseImage ¶ added in v1.13.0
func GetPauseImage(cfg *kubeadmapi.ClusterConfiguration) string
GetPauseImage returns the image for the "pause" container
Types ¶
This section is empty.