package images
import "k8s.io/kubernetes/cmd/kubeadm/app/images"
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
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
Source Files ¶
images.go
- Version
- v1.13.6
- Published
- May 7, 2019
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.