Differences between Kubernetes distributions
Compare known differences between Kubernetes distributions and check the settings that components and templates need.
Components and templates are tested on kind with the same Kubernetes minor version as the pinned RKE2 release in config/kubernetes.yaml. The single-node profile uses 1 node, and the multi-node profile uses 3 nodes. Each profile groups the settings for its deployment layout. Components are also tested on k3s, RKE2 and KubeSolo installed on the runner, as Tests and CI describes. Other distributions behave the same, with the following known differences.
- k3s: Add
--disable=traefik,metrics-serverat startup so that each component's chart installs Traefik and metrics-server. k3s installs its own Gateway API CRDs. When running behind NAT, don't setnode-external-ip, or Traefik will lose the client address. - KubeSolo: The default StorageClass retains volumes and their data after you delete a PersistentVolumeClaim. On Ubuntu, map the hostname in
/etc/hoststo the node IP. If it maps to 127.0.1.1, the API server will refuse to proxy connections to the kubelet. KubeSolo nodes don't have a control-plane label. - Longhorn: Each node needs open-iscsi installed,
iscsidrunning, theiscsi_tcpmodule, and an NFSv4 client. Don't let multipathd manage disks that Longhorn uses. See the comments in the Longhorn component file for detailed requirements. Longhorn doesn't run on KubeSolo, so it isn't tested there. - Distributions to test on: A component's
distributionsfield lists the distributions it supports, and e2e tests it on each of them. For example, system-upgrade-controller lists only k3s and RKE2, because it upgrades the k3s or RKE2 binary. The distributions where its test passed are a different list, which an installer works out from the measurements. - Template storage: Templates don't specify a StorageClass, so volumes use the cluster's default StorageClass. If the cluster has no default StorageClass, PersistentVolumeClaims remain
Pending.