Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateK3DCluster ¶
Does the following :
(1) Creates a K3D cluster with the given name, if it doesn't already exist. (2) Creates 2 kubeconfig files, which can be used to access the cluster, from inside the KubeAid Bootstrap Script container, or from the user's host machine. (3) Ensures that each master node has the node-role.kubernetes.io/control-plane= label, just like it is for a Vanilla Kubernetes cluster.
Keep in mind :
The created K3D cluster and the KubeAid core container, must be running in the same network. Otherwise, access to the K3D cluster will break. (1) From inside the container, we can access the K3D cluster's API server using https://k3d-management-cluster-server-0:6443. (2) And from outside the container, we can use https://0.0.0.0:<whatever the random port is>.
func DeleteK3DCluster ¶ added in v0.13.2
Types ¶
type K3DConfigTemplateValues ¶
type K3DConfigTemplateValues struct { Name, K8sVersion string WorkloadIdentity *WorkloadIdentity }
type WorkloadIdentity ¶ added in v0.8.0
type WorkloadIdentity struct { ServiceAccountIssuerURL, SSHPublicKeyFilePath, SSHPrivateKeyFilePath string }
Click to show internal directories.
Click to hide internal directories.