K3s
$ k3s Foundation High Riskk3s bundles Kubernetes control-plane, containerd, Flannel, and embedded kubectl/crictl into one Linux binary. Agents use k3s check-config to verify host kernel readiness and k3s kubectl -o json for cluster queries.
https://github.com/k3s-io/k3s/releases k3s manages host-level Linux systemd daemons, cgroups, and embedded Kubernetes components where MCP has no equivalent.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Embedded k3s kubectl supports -o json, and config.yaml supports declarative startup, though k3s check-config and daemon commands lack --json and k3s server runs as a blocking daemon.
k3s check-configoutputs text diagnostics only- Embedded
k3s kubectlsupports-o json
Single-host daemon setup requires root privileges and mutates host networking/iptables/systemd; lacks --dry-run on server or agent.
- Requires root privileges and modifies host networking/cgroups
Zero-dependency single binary on Linux (x86_64, ARM64, ARMv7), but does not run natively on macOS or Windows.
- Linux-only static binary
Packs a full CNCF-certified Kubernetes cluster, containerd, and kubectl into one lightweight ~70 MB binary.
- Complete Kubernetes distribution in a single binary
CNCF project (k3s-io/k3s) backed by Rancher/SUSE under Apache-2.0.
- CNCF
k3s-io/k3srepository
Extensive docs.k3s.io documentation, though subcommand help spans embedded multi-call binaries.
- Official docs at docs.k3s.io
Security, Auth & Guardrails
Writes admin kubeconfig to /etc/rancher/k3s/k3s.yaml, node tokens to /var/lib/rancher/k3s/server/node-token, and reads /etc/rancher/k3s/config.yaml.
CLI and distribution are free (Apache-2.0); consumes host Linux compute/storage.
# K3s Agent Rules - Run `k3s check-config` before installing or starting `k3s server`/`agent` on a Linux host. - Prefer `/etc/rancher/k3s/config.yaml` over long inline CLI flags and keep `K3S_TOKEN` out of shell history. - Never run `k3s-uninstall.sh` or `k3s-killall.sh` without explicit human approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
k3s check-config
Audits Linux kernel modules, cgroups, and iptables prerequisites without starting a daemon.
k3s kubectl get nodes -o json
Uses K3s's built-in kubectl against /etc/rancher/k3s/k3s.yaml to return JSON node state.
Controlled Writes & Previews
k3s server --config /etc/rancher/k3s/config.yaml
Starts the control plane using explicit YAML settings instead of ad-hoc CLI flags.
Strengths for Agents
- + Single self-contained Linux binary includes
server,agent,kubectl,crictl, andetcd-snapshot. - + Declarative
/etc/rancher/k3s/config.yamlavoids brittle CLI flag chains. - +
k3s check-configcatches kernel and cgroup issues before cluster boot.
Caveats & Pitfalls
- ! Linux-only (
macosandwindowsrequire a Linux VM ork3d). - ! Running
k3s server/agentrequires root privileges, mutates host networking, and blocks in the foreground unless managed by systemd.