package
0.18.1
Repository: https://github.com/k0sproject/k0sctl.git
Documentation: pkg.go.dev

# Functions

NewManager creates a new Manager.

# Variables

Colorize is an instance of "aurora", used to colorize the output.
Force is used by various phases to attempt a forced installation.
NoWait is used by various phases to decide if node ready state should be waited for or not.

# Structs

Backup connect to one of the controllers and takes a backup.
ConfigureK0s writes the k0s configuration to host k0s config dir.
Connect connects to each of the hosts.
DaemonReload phase runs `systemctl daemon-reload` or equivalent on all hosts.
No description provided by the author
DetectOS performs remote OS detection.
Disconnect disconnects from the hosts.
DownloadBinaries downloads k0s binaries to localohost temp files.
DownloadK0s performs k0s online download on the hosts.
GatherFacts gathers information about hosts, such as if k0s is already up and running.
GatherK0sFacts gathers information about hosts, such as if k0s is already up and running.
GenericPhase is a basic phase which gets a config via prepare, sets it into p.Config.
GetKubeconfig is a phase to get and dump the admin kubeconfig.
InitializeK0s sets up the "initial" k0s controller.
InstallBinaries installs the k0s binaries from the temp location of UploadBinaries or InstallBinaries.
InstallControllers installs k0s controllers and joins them to the cluster.
InstallWorkers installs k0s on worker hosts and joins them to the cluster.
Lock acquires an exclusive k0sctl lock on hosts.
Manager executes phases to construct the cluster.
PrepareArm implements a phase which fixes arm quirks.
PrepareHosts installs required packages and so on on the hosts.
ResetControllers phase removes controllers marked for reset from the kubernetes and etcd clusters and resets k0s on the host.
ResetLeader phase removes the leader from the cluster and thus destroys the cluster.
ResetControllers phase removes workers marked for reset from the kubernetes cluster and resets k0s on the host.
No description provided by the author
RunHooks phase runs a set of hooks configured for the host.
Unlock acquires an exclusive k0sctl lock on hosts.
UpgradeControllers upgrades the controllers one-by-one.
UpgradeWorkers upgrades workers in batches.
UploadFiles implements a phase which upload files to hosts.
UploadK0s uploads k0s binaries from localhost to target.
ValidateFacts performs remote OS detection.
ValidateHosts performs remote OS detection.