kubeadm

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIEndpointsFromConfigMap

func GetAPIEndpointsFromConfigMap() ([]string, error)

GetAPIEndpointsFromConfigMap returns the api endpoint held in the config map

func GetClusterConfiguration added in v0.8.0

func GetClusterConfiguration() (*kubeadmapi.InitConfiguration, error)

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

func GetCurrentClusterVersion added in v0.6.0

func GetCurrentClusterVersion() (*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(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