kubeadm

package
v1.7.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 28 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrapper added in v1.0.0

type Bootstrapper struct {
	// contains filtered or unexported fields
}

Bootstrapper is a bootstrapper using kubeadm

func NewBootstrapper added in v1.7.0

func NewBootstrapper(api libmachine.API) (*Bootstrapper, error)

NewBootstrapper creates a new kubeadm.Bootstrapper

func (*Bootstrapper) DeleteCluster added in v1.0.0

func (k *Bootstrapper) DeleteCluster(k8s config.KubernetesConfig) error

DeleteCluster removes the components that were started earlier

func (*Bootstrapper) GetAPIServerStatus added in v1.0.0

func (k *Bootstrapper) GetAPIServerStatus(ip net.IP, apiserverPort int) (string, error)

GetAPIServerStatus returns the api-server status

func (*Bootstrapper) GetKubeletStatus added in v1.0.0

func (k *Bootstrapper) GetKubeletStatus() (string, error)

GetKubeletStatus returns the kubelet status

func (*Bootstrapper) LogCommands added in v1.0.0

func (k *Bootstrapper) LogCommands(o bootstrapper.LogOptions) map[string]string

LogCommands returns a map of log type to a command which will display that log.

func (*Bootstrapper) PullImages added in v1.0.0

func (k *Bootstrapper) PullImages(k8s config.KubernetesConfig) error

PullImages downloads images that will be used by Kubernetes

func (*Bootstrapper) SetupCerts added in v1.0.0

func (k *Bootstrapper) SetupCerts(k8s config.KubernetesConfig) error

SetupCerts sets up certificates within the cluster.

func (*Bootstrapper) StartCluster added in v1.0.0

func (k *Bootstrapper) StartCluster(k8s config.KubernetesConfig) error

StartCluster starts the cluster

func (*Bootstrapper) UpdateCluster added in v1.0.0

func (k *Bootstrapper) UpdateCluster(cfg config.MachineConfig) error

UpdateCluster updates the cluster

func (*Bootstrapper) WaitForCluster added in v1.6.0

func (k *Bootstrapper) WaitForCluster(k8s config.KubernetesConfig, timeout time.Duration) error

WaitForCluster blocks until the cluster appears to be healthy

Jump to

Keyboard shortcuts

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