Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateK3DCluster ¶
Creates a K3D cluster with the given name, if it doesn't already exist.
The user needs to create a Docker Network (preferably named `k3d-management-cluster`) and run
the KubeAid Bootstrap Script container in that Docker Network. The K3D cluster will reuse that
existing network.
(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>.
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.