k3d

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateK3DCluster

func CreateK3DCluster(ctx context.Context, name string)

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>.

func DeleteK3DCluster added in v0.13.2

func DeleteK3DCluster(ctx context.Context)

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
}

Jump to

Keyboard shortcuts

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