Re:K3s – Lightweight Kubernetes
by geerlingguy on Wednesday February 27, 2019 @11:33AM
(#19264265)
Agreed. Kubernetes (installed via kubeadm) on 1 GB of RAM is a shaky proposition at best; I've been managing a cluster on Raspberry Pis and the master often hits swap managing three Nodes with a dozen or so Pods.
K8s doesn’t support swap, you have to disable swap to even run kubelet.
There is an override flag.
It works, but it kind of invalidates all assumptions k8s makes about free memory on a node
What workloads are you running? With only 1gb, have you looked into setting resource limits for your pods?
I really want to do this as well - we've just started looking at minikube for our group, and I'd love to use k3s instead, but does anyone know if it works on OSX? I was able to get a cluster running on my laptop in under a minute, which is pretty amazing.
Re:K3s – Lightweight Kubernetes
by farisjarrah on Wednesday February 27, 2019 @04:46PM
(#19267249)
Have you seen or used Microk8s ? Seems like it might be what you are looking for. Can be installed and removed via snap package too
Microk8s looks interesting as well, but it doesn't support osx as far as I can tell.
multipass + microk8s on macos
https://github.com/CanonicalLtd/multipass
My hope is for more competition for development k8s (or k3s!) - minikube and docker-for-desktop is plagued with high CPU usage problems, and OSX-wielding developers are still doubtful. It will require a lot of work and elbow grease to convince them. I've built a hosted platform that tries to address this, but it's a complex education problem, which I am not well suited to solve :(