Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kubesolo
command
|
|
|
kubesoloctl
command
cmd/kubesoloctl is the management CLI for KubeSolo — a single-node Kubernetes distribution for constrained edge environments.
|
cmd/kubesoloctl is the management CLI for KubeSolo — a single-node Kubernetes distribution for constrained edge environments. |
|
internal
|
|
|
cli
Package cli implements the kubesoloctl command-line interface.
|
Package cli implements the kubesoloctl command-line interface. |
|
cli/detect
Package detect identifies the host system's architecture, libc variant, init system, and environment type.
|
Package detect identifies the host system's architecture, libc variant, init system, and environment type. |
|
cli/download
Package download handles fetching, verifying, and extracting the KubeSolo binary from GitHub Releases, as well as offline installation from a local archive or binary file.
|
Package download handles fetching, verifying, and extracting the KubeSolo binary from GitHub Releases, as well as offline installation from a local archive or binary file. |
|
cli/kubeconfig
Package kubeconfig merges the KubeSolo admin kubeconfig into the invoking user's ~/.kube/config after installation, mirroring the behaviour of the original bash installer script.
|
Package kubeconfig merges the KubeSolo admin kubeconfig into the invoking user's ~/.kube/config after installation, mirroring the behaviour of the original bash installer script. |
|
cli/preflight
Package preflight implements all pre-installation validation checks.
|
Package preflight implements all pre-installation validation checks. |
|
cli/process
Package process handles stopping running KubeSolo processes and releasing the ports and file handles they hold before a fresh installation begins.
|
Package process handles stopping running KubeSolo processes and releasing the ports and file handles they hold before a fresh installation begins. |
|
cli/service
Package service provides an init-system-agnostic interface for installing, enabling, and controlling the KubeSolo system service.
|
Package service provides an init-system-agnostic interface for installing, enabling, and controlling the KubeSolo system service. |
|
cli/ui
Package ui provides lightweight terminal output primitives for kubesoloctl.
|
Package ui provides lightweight terminal output primitives for kubesoloctl. |
|
config
Package config derives KubeSolo's runtime configuration.
|
Package config derives KubeSolo's runtime configuration. |
|
config/cpumanager
Package cpumanager validates the kubelet CPU-manager and node-reservation flags so a bad combination fails at startup with a clear message, rather than crash-looping the kubelet.
|
Package cpumanager validates the kubelet CPU-manager and node-reservation flags so a bad combination fails at startup with a clear message, rather than crash-looping the kubelet. |
|
runtime/cri
Package cri resolves the CRI endpoint KubeSolo talks to: either a host-managed container runtime named with --container-runtime-endpoint, or KubeSolo's own embedded containerd.
|
Package cri resolves the CRI endpoint KubeSolo talks to: either a host-managed container runtime named with --container-runtime-endpoint, or KubeSolo's own embedded containerd. |
|
upgrade
Package upgrade holds the parts of an in-place KubeSolo upgrade that both the kubesolo binary and kubesoloctl need: where the upgrade keeps its files, the record of what it is doing and what it last did, the lock that makes it the only writer, and fetching and checking a release before anything is touched.
|
Package upgrade holds the parts of an in-place KubeSolo upgrade that both the kubesolo binary and kubesoloctl need: where the upgrade keeps its files, the record of what it is doing and what it last did, the lock that makes it the only writer, and fetching and checking a release before anything is touched. |
|
upgrade/executor
Package executor carries out an upgrade or rollback.
|
Package executor carries out an upgrade or rollback. |
|
pkg
|
|
|
components/configapi
Package configapi implements the optional KubeSolo configuration API.
|
Package configapi implements the optional KubeSolo configuration API. |
|
components/metrics
Package metrics implements the optional kubesolo Prometheus metrics endpoint.
|
Package metrics implements the optional kubesolo Prometheus metrics endpoint. |
|
runtime
Package runtime selects the container runtime the rest of kubesolo depends on: the containerd kubesolo embeds and supervises, or a runtime the host manages that kubesolo merely attaches to.
|
Package runtime selects the container runtime the rest of kubesolo depends on: the containerd kubesolo embeds and supervises, or a runtime the host manages that kubesolo merely attaches to. |
|
runtime/external
Package external attaches KubeSolo to a container runtime the host manages, instead of starting the containerd KubeSolo embeds.
|
Package external attaches KubeSolo to a container runtime the host manages, instead of starting the containerd KubeSolo embeds. |
|
test
|
|
|
e2e/upgrade/fakekubesolo
command
fakekubesolo is a stand-in for a broken KubeSolo release, for exercising the upgrade's failure handling end to end.
|
fakekubesolo is a stand-in for a broken KubeSolo release, for exercising the upgrade's failure handling end to end. |
Click to show internal directories.
Click to hide internal directories.
