Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

6 строки
312 B
Plaintext

https://docs.k0sproject.io/v0.10.0/k0s-in-docker/
docker run -d --name k0s --hostname k0s --privileged -v /var/lib/k0s -p 6443:6443 docker.io/k0sproject/k0s:latest
Just grab the kubeconfig file with docker exec k0s cat /var/lib/k0s/pki/admin.conf
and paste e.g. into Lens (https://github.com/lensapp/lens/)