Skip to content

docs: add Rancher (RKE2/K3s) install instructions - #212

Merged
joshiste merged 2 commits into
mainfrom
docs/rancher-install-instructions
Sep 3, 2026
Merged

joshiste merged 2 commits into
mainfrom
docs/rancher-install-instructions

Conversation

@joshiste

@joshiste joshiste commented Sep 3, 2026

Copy link
Copy Markdown
Member

Adds an "Alternative: Rancher (RKE2 / K3s) installation" section to the Kubernetes install page, alongside the existing OpenShift and GKE Autopilot alternatives.

RKE2 and K3s run an embedded containerd whose socket lives at /run/k3s/containerd/containerd.sock, which the chart cannot auto-detect — the extension pods otherwise hang in ContainerCreating with hostPath type check failed: /run/containerd/containerd.sock is not a socket file.

The section documents:

  • the single required override (extension-container.containerEngines.containerd.socket)
  • a hint not to touch ociRuntime.root — containerd keeps its runc state under /run/containerd/runc/k8s.io regardless of where the socket lives, and /run/k3s/containerd/runc/k8s.io does not exist, so overriding it breaks the ociruntime-root hostPath mount
  • the failure symptom, for searchability
  • RKE1 being Docker-based

Verified end-to-end on a k3s v1.35.5 cluster (containerd 2.2.3-k3s1): agent + extensions installed via the umbrella chart with only the socket override, container discovery reported targets, and a stress-CPU attack ran to completion (which exercises the OCI runtime root). RKE2 uses the same embedded k3s containerd socket path but was not tested directly.

RKE2 and K3s run their embedded containerd on /run/k3s/containerd/containerd.sock,
so extension-container needs that socket configured. The OCI runtime root stays at
the default, as containerd keeps its runc state under /run/containerd/runc/k8s.io
regardless of the socket location.
@joshiste
joshiste force-pushed the docs/rancher-install-instructions branch from 5e89e81 to 5658e9b Compare September 3, 2026 10:45
@joshiste
joshiste merged commit 180228c into main Sep 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant