Documentation ¶
Index ¶
- func AddControlPlane(clusterName, version string) (*nodes.Node, error)
- func AddWorker(clusterName, version string) (*nodes.Node, error)
- func ConfigureLoadBalancer(clusterName string) error
- func CreateControlPlane(clusterName, lbip, version string) (*nodes.Node, error)
- func DeleteNode(clusterName, nodeName string) error
- func InstallCNI(node *nodes.Node) error
- func KubeConfigPath(clusterName string) string
- func KubeadmConfig(node *nodes.Node, clusterName, lbip string) error
- func KubeadmInit(clusterName string) error
- func KubeadmJoin(clusterName string, node *nodes.Node) error
- func KubeadmJoinControlPlane(clusterName string, node *nodes.Node) error
- func ListControlPlanes(clusterName string) ([]nodes.Node, error)
- func RemoveNode(clusterName, nodeName string) error
- func SetNodeRef(clusterName, nodeName string) error
- func SetUpLoadBalancer(clusterName string) (*nodes.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddControlPlane ¶
AddControlPlane adds a control plane to a given cluster
func ConfigureLoadBalancer ¶
ConfigureLoadBalancer updates the external load balancer with new control plane nodes. This should be run after every KubeadmJoinControlPlane
func CreateControlPlane ¶
CreateControlPlane is creating the first control plane and configuring the load balancer.
func DeleteNode ¶
DeleteNode removes a node from a cluster and cleans up docker.
func InstallCNI ¶
func KubeConfigPath ¶
KubeConfigPath returns the path to the kubeconfig file for the given cluster name.
func KubeadmInit ¶
func KubeadmJoinControlPlane ¶
KubeadmJoinControlPlane joins a control plane to an existing Kubernetes cluster.
func RemoveNode ¶
func SetNodeRef ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.