Earlier quoted context omitted.
No, for the same reason that Martin Fowler argues you should start with a monolith first before moving to a microservices architecture.
What is currently a good alternative for a small business who needs to distribute containers on a handful of nodes? Docker swarm mode?
K3s – Lightweight Kubernetes
21–30 of 194 posts
Re: K3s – Lightweight Kubernetes
#22The problem of GO is that all those unused libraries are loaded in RAM instead of staying on disk, and loaded when needed.
An helloworld in GO (around 1.6MB) is still too large for my openwrt router.
Re: K3s – Lightweight Kubernetes
#23Welcome to 2019 where an "embedded" system has 1GB RAM. The problem of GO is that all those unused libraries are loaded in RAM instead of staying on disk, and loaded when needed. An helloworld in GO (around 1.6MB) is still too large for my openwrt router.
Re: K3s – Lightweight Kubernetes
#24Not trying to be snarky, just a sincere question - why would you use kubernetes for something like IoT?
Because I want my doors, windows, garage door, smoke alarms, security system, and any other smart thing in my house even when the IoT controller dies. I also want as much functionality as possible if my ISP (Comcast) decides on another "maintenance" window. So that basically means local smarts and fall over in the case of a hardware failure.
Re: K3s – Lightweight Kubernetes
#25Docker Swarm on Raspberry Pi is a very common thing. So, from a performance perspective, these are on par.
Another question is around ingress and network plugin - is it a seamless "batteries included" experience ? Because these are two of the biggest pains in k8s to decide and setup .
Re: K3s – Lightweight Kubernetes
#26A bit off topic, but has anyone used K8s along with Proxmox?
Some people even used it with LXC, though it seems a bit of a work. e.g. https://medium.com/@kvaps/run-kubernetes-in-lxc-container-f0...
Re: K3s – Lightweight Kubernetes
#27Welcome to 2019 where an "embedded" system has 1GB RAM. The problem of GO is that all those unused libraries are loaded in RAM instead of staying on disk, and loaded when needed. An helloworld in GO (around 1.6MB) is still too large for my openwrt router.
Like every process, the text segment is demand paged so it doesn't consume ram unless it's actually needed. What you probably mean is that multiple copies of the same library cannot share the same physical memory pages.
Re: K3s – Lightweight Kubernetes
#28Re: K3s – Lightweight Kubernetes
#29Re: K3s – Lightweight Kubernetes
#30Earlier quoted context omitted.
What is currently a good alternative for a small business who needs to distribute containers on a handful of nodes? Docker swarm mode?
If you need to distribute containers on a handful of nodes, kubernetes is great (and far better than Docker swarm imho). However, most small businesses probably don't need to have a microservice setup and can simply deploy a simple monolith while they focus on getting their business off the ground.
Just to give more context, our use case is spawning Jupyter notebook in containers using JupyterHub and DockerSpawner so that each data scientist gets a personal ready-to-use environment to work with. With 4 data scientists we're beginning to reach the limits of the largest instance provided by our cloud provider and we're expecting to have more users soon. Actually our current cloud provider has just released a managed k8s service so that might be the way to go.