kubeadm

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIEndpointsFromConfigMap

func GetAPIEndpointsFromConfigMap(client clientset.Interface) ([]string, error)

GetAPIEndpointsFromConfigMap returns the api endpoint held in the config map

func GetClusterConfiguration added in v0.8.0

func GetClusterConfiguration(client clientset.Interface) (*kubeadmapi.InitConfiguration, error)

GetClusterConfiguration returns the cluster configuration from the `kubeadm-config` ConfigMap

func GetCurrentClusterVersion added in v0.6.0

func GetCurrentClusterVersion(client clientset.Interface) (*version.Version, error)

GetCurrentClusterVersion returns the current cluster version

func GetKubeadmApisVersion added in v0.9.0

func GetKubeadmApisVersion(kubernetesVersion *version.Version) string

GetKubeadmApisVersion returns the api version to use in the kubeadm-init.conf

func RemoveAPIEndpointFromConfigMap

func RemoveAPIEndpointFromConfigMap(client clientset.Interface, node *v1.Node) error

RemoveAPIEndpointFromConfigMap removes api endpoints from the config map

func SetContainerImagesWithClusterVersion added in v0.8.0

func SetContainerImagesWithClusterVersion(initConfiguration *kubeadmapi.InitConfiguration, clusterVersion *version.Version)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL