Kubernetes
Note
Please read the common steps first.
We have been proposing our patchset for supporting Rootless mode to the Kubernetes upstream, but our proposal has not been merged yet: https://github.com/kubernetes/enhancements/pull/1371
Usernetes is our reference Kubernetes distribution to support Rootless mode.
See https://github.com/rootless-containers/usernetes
$ tar xjvf usernetes-x86_64.tbz
$ cd usernetes
$ ./install.sh --cri=containerd
$ export KUBECONFIG="$HOME/.config/usernetes/master/admin-localhost.kubeconfig"
$ kubectl apply -f manifests/*.yaml
k3s supports Rootless mode using our Usernetes patchset.
$ k3s server --rootless
See also https://rancher.com/docs/k3s/latest/en/advanced/#running-k3s-with-rootlesskit-experimental