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 ¶
func GetAllImages(cfg *kubeadmapi.ClusterConfiguration) []string
GetAllImages returns a list of container images kubeadm expects to use on a control plane node
func GetDNSImage ¶
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 ¶
func GetEtcdImage(cfg *kubeadmapi.ClusterConfiguration) string
GetEtcdImage generates and returns the image for etcd
func GetGenericImage ¶
GetGenericImage generates and returns a platform agnostic image (backed by manifest list)
func GetKubernetesImage ¶
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 ¶
func GetPauseImage(cfg *kubeadmapi.ClusterConfiguration) string
GetPauseImage returns the image for the "pause" container
Types ¶
This section is empty.