infrastructure/skills/k3s/SKILL.md
k3s binary installer (common base for k3s-server and k3s-agent). Use when building images that need the k3s binary but do NOT want a server/agent service started automatically.
npx skillsauth add overthinkos/overthink-plugins k3sInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Property | Value |
|----------|-------|
| Install files | charly.yml, task: |
| Pinned version | v1.31.11+k3s1 (edit K3S_VERSION in charly.yml vars to cut over) |
Downloads the verified-checksum k3s binary (plus sha256sum from the
release manifest), installs it to /usr/local/bin/k3s, and creates
symlinks for kubectl, crictl, ctr (k3s is multi-call). Installs
runtime dependencies (iptables, conntrack, socat, ethtool,
ca-certificates) via the distro package manager — not via the
upstream curl | sh installer. Deliberate, per R9.
No service is started by this candy. Role selection happens in the
dependent candies /charly-infrastructure:k3s-server and /charly-infrastructure:k3s-agent,
which emit systemd units that wrap this binary with the right CLI verb
(k3s server vs k3s agent).
Typically not used directly — compose /charly-infrastructure:k3s-server or
/charly-infrastructure:k3s-agent (both depend on this candy).
# For a bare binary-only image (rare):
candy:
- k3s
rpm: (Fedora) — conntrack-tools, iptables, ethtool, socat, ca-certificatespac: (Arch) — conntrack-tools, iptables-nft, ethtool, socat, ca-certificatesdeb: (Debian/Ubuntu) — conntrack, iptables, ethtool, socat, ca-certificatesk3s --version matches pinned version./usr/local/bin/k3s is mode 0755./usr/local/bin/kubectl exists as a symlink.package_map handles Debian's conntrack rename)./charly-infrastructure:k3s-server — Control-plane node (depends on this candy)/charly-infrastructure:k3s-agent — Worker node (depends on this candy)/charly-coder:kubernetes-layer — Distro kubectl/helm binaries for the operator, not the clustertools
OpenCharly CLI (charly) binary installed into container/VM images for in-container use. Use when working with charly binary deployment inside containers, native D-Bus support, or the full charly toolchain (charly binary + virtualization + gocryptfs + socat).
development
Operator CachyOS workstation profile — a kind:local template + target:local deploy that installs the full dev stack (30 candies) onto a CachyOS host via ShellExecutor. Lives in the overthinkos/cachyos submodule. MUST be invoked before editing or applying the charly-cachyos workstation profile.
tools
Fedora box with the full charly toolchain using shared candies. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Same candy list as charly-arch. Includes NVIDIA GPU runtime. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-fedora box.
tools
Arch Linux box with the full charly toolchain. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Composes /charly-coder:charly-mcp so the box is reachable as an MCP gateway on port 18765. NVIDIA GPU runtime composed in. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-arch box.