Self-managed Kubernetes on Linode: distributions and integration points #48

Closed
opened 2026-11-23 16:05:23 -05:00 by bobby · 1 comment
Owner

Part of #44

Question

What are the viable ways to run a self-managed Kubernetes cluster on Linode Compute instances, and how does each integrate with Linode? Compare kubeadm, k3s, Talos Linux, and RKE2 (learning value, security posture, upgrade story, resource footprint). Cover Linode integration: Cloud Controller Manager (NodeBalancers), CSI (Block Storage), VPC, Cloud Firewall, image availability (e.g. Talos on Linode), and any Cluster API / Terraform provider support. Note the current state of ingress-nginx and Gateway API options.

Part of #44 ## Question What are the viable ways to run a self-managed Kubernetes cluster on Linode Compute instances, and how does each integrate with Linode? Compare kubeadm, k3s, Talos Linux, and RKE2 (learning value, security posture, upgrade story, resource footprint). Cover Linode integration: Cloud Controller Manager (NodeBalancers), CSI (Block Storage), VPC, Cloud Firewall, image availability (e.g. Talos on Linode), and any Cluster API / Terraform provider support. Note the current state of ingress-nginx and Gateway API options.
bobby added the wayfinder:research label 2026-11-23 16:05:23 -05:00
bobby added a new dependency 2026-11-23 16:05:34 -05:00
Author
Owner

Findings

  • All four distributions (kubeadm, k3s, RKE2, Talos) run on Linode. The Linode pieces are the same for each: the Linode CCM (NodeBalancers, node lifecycle, VPC route controller, firewall and VPC-backend annotations; needs --cloud-provider=external), the Block Storage CSI driver (supports LUKS, no online expansion), a VPC and Cloud Firewalls. All of it can be provisioned with Terraform linode/linode v4.10.
  • Talos is the best fit for "security paramount". It has no shell or SSH, an immutable SquashFS root, an API-only management model with auto-rotated certificates, and A/B upgrades with rollback. Sidero publishes an official Akamai/Linode guide and an Image Factory image. One gotcha: each Linode's boot kernel has to be set to direct-disk. The guide doesn't install the CCM or CSI driver, and there is no CAPL Talos flavor (Sidero's CAPI providers are now community-maintained). The siderolabs/talos Terraform provider covers bootstrap.
  • kubeadm teaches the most but is weakest by default. RKE2 is the most CIS-hardened out of the box. k3s is the smallest. CAPL supports kubeadm, k3s and rke2.
  • ingress-nginx is retired. Maintenance ended March 2026 and the repo was archived on 2026-03-24, so don't deploy it. Use Gateway API (v1.7.0, 2026-10-29) instead. Conformant implementations include Cilium, Envoy Gateway, NGINX Gateway Fabric, Istio and kgateway.
  • Managed Postgres can attach to the cluster's VPC. VPC traffic is isolated from other tenants but not encrypted, and VPC interfaces have no IPv6. Cilium WireGuard would cover encryption.
  • Suggested direction (not a decision): Talos + Cilium (CNI, Gateway API and WireGuard) + Linode CCM/CSI + Postgres in the VPC, all provisioned with OpenTofu.
  • Open: whether Terraform supports DB private_network, whether direct-disk can be set declaratively, and the HA/cost call on control-plane node count.

Context: branch research/self-managed-k8s-linode, file https://git.bobbypalko.com/bobby/hapi/src/branch/research/self-managed-k8s-linode/docs/research/self-managed-k8s-linode.md

## Findings - **All four distributions (kubeadm, k3s, RKE2, Talos) run on Linode.** The Linode pieces are the same for each: the Linode CCM (NodeBalancers, node lifecycle, VPC route controller, firewall and VPC-backend annotations; needs `--cloud-provider=external`), the Block Storage CSI driver (supports LUKS, no online expansion), a VPC and Cloud Firewalls. All of it can be provisioned with Terraform `linode/linode` v4.10. - **Talos is the best fit for "security paramount".** It has no shell or SSH, an immutable SquashFS root, an API-only management model with auto-rotated certificates, and A/B upgrades with rollback. Sidero publishes an official Akamai/Linode guide and an Image Factory image. One gotcha: each Linode's boot kernel has to be set to `direct-disk`. The guide doesn't install the CCM or CSI driver, and there is no CAPL Talos flavor (Sidero's CAPI providers are now community-maintained). The `siderolabs/talos` Terraform provider covers bootstrap. - **kubeadm teaches the most but is weakest by default. RKE2 is the most CIS-hardened out of the box. k3s is the smallest.** CAPL supports kubeadm, k3s and rke2. - **ingress-nginx is retired.** Maintenance ended March 2026 and the repo was archived on 2026-03-24, so don't deploy it. Use Gateway API (v1.7.0, 2026-10-29) instead. Conformant implementations include Cilium, Envoy Gateway, NGINX Gateway Fabric, Istio and kgateway. - **Managed Postgres can attach to the cluster's VPC.** VPC traffic is isolated from other tenants but **not encrypted**, and VPC interfaces have no IPv6. Cilium WireGuard would cover encryption. - **Suggested direction (not a decision):** Talos + Cilium (CNI, Gateway API and WireGuard) + Linode CCM/CSI + Postgres in the VPC, all provisioned with OpenTofu. - **Open:** whether Terraform supports DB `private_network`, whether direct-disk can be set declaratively, and the HA/cost call on control-plane node count. **Context:** branch `research/self-managed-k8s-linode`, file https://git.bobbypalko.com/bobby/hapi/src/branch/research/self-managed-k8s-linode/docs/research/self-managed-k8s-linode.md
bobby closed this issue 2026-11-23 16:09:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#48