Documentation
¶
Overview ¶
Package cluster implements `monolith cluster`: a single-node Kubernetes (k3s) cluster in a VM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "cluster",
Short: "Run a single-node Kubernetes (k3s) cluster in a VM",
Long: `Run a single-node Kubernetes cluster in a monolith VM and use it from the Mac.
Each cluster is a VM running k3s on its own containerd, with user-mode
networking so image pulls work wherever the Mac is online. 'start' merges the
cluster into your kubeconfig as the context cluster-<name> and makes it
current; the API is on localhost.
The VM is an ordinary monolith VM, so 'monolith vm attach <name>' opens its
console.
Every command except list takes --name (default "cluster-default").`,
}
Cmd is the parent command for cluster VMs.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.