![]() ![]() Now you can use kubectl to interact with the k3s cluster. sudo cp /etc/rancher/k3s/k3s.* $HOME/.kube/config Depending on your setup you might need to copy the kube config of k3s to the ~/.kube/config file. kube-apiserver-arg service-node-port-range=1-65535 I’ve added an additional argument that allows services to expose themselves at any port (by default this is restricted to the 30000-32768 range). When the Ubuntu VM is up and running launch a terminal to install k3s. After installing, launch the Ubuntu VM suggested in the dialog. ![]() Here are the steps.įirst of all download and install Parallels Desktop. As k3s doesn’t need docker it sounds like an attractive alternative. This time I installed k3s on a Ubuntu virtual machine running in Parallels Desktop. In my search for the ideal k8s setup on a M1 mac I tried an alternative approach. It’s not very often, but annoying enough to give this alternative a try. This approach has some downsides, the first being the need for port forwards, second minikube and multipass sometimes display some quirky behaviour. In my previous post I described how to get a minikube cluster up and running using multipass. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |