actions

package
v0.0.0-...-cbf3654 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddControlPlane

func AddControlPlane(clusterName, version string) (*nodes.Node, error)

AddControlPlane adds a control plane to a given cluster

func AddWorker

func AddWorker(clusterName, version string) (*nodes.Node, error)

AddWorker adds a worker to a given cluster.

func ConfigureLoadBalancer

func ConfigureLoadBalancer(clusterName string) error

ConfigureLoadBalancer updates the external load balancer with new control plane nodes. This should be run after every KubeadmJoinControlPlane

func CreateControlPlane

func CreateControlPlane(clusterName, lbip, version string) (*nodes.Node, error)

CreateControlPlane is creating the first control plane and configuring the load balancer.

func DeleteNode

func DeleteNode(clusterName, nodeName string) error

DeleteNode removes a node from a cluster and cleans up docker.

func InstallCNI

func InstallCNI(node *nodes.Node) error

func KubeConfigPath

func KubeConfigPath(clusterName string) string

KubeConfigPath returns the path to the kubeconfig file for the given cluster name.

func KubeadmConfig

func KubeadmConfig(node *nodes.Node, clusterName, lbip string) error

func KubeadmInit

func KubeadmInit(clusterName string) error

func KubeadmJoin

func KubeadmJoin(clusterName string, node *nodes.Node) error

func KubeadmJoinControlPlane

func KubeadmJoinControlPlane(clusterName string, node *nodes.Node) error

KubeadmJoinControlPlane joins a control plane to an existing Kubernetes cluster.

func ListControlPlanes

func ListControlPlanes(clusterName string) ([]nodes.Node, error)

func RemoveNode

func RemoveNode(clusterName, nodeName string) error

func SetNodeRef

func SetNodeRef(clusterName, nodeName string) error

func SetUpLoadBalancer

func SetUpLoadBalancer(clusterName string) (*nodes.Node, error)

SetUpLoadBalancer creates a load balancer but does not configure it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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