Live data from Hacker News

K3s – Lightweight Kubernetes

k3s.io

31–40 of 194 posts

Re: K3s – Lightweight Kubernetes

#31
post #24
post #16

Earlier quoted context omitted.

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.

Same. What does it have to do with kubernetes?

I like your username.

Re: K3s – Lightweight Kubernetes

#32

Earlier 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?

A single baremetal server with just docker containers. It's much easier to migrate from just containers running on nodes to an orchestration system (marathon, nomad OR k3s/k8s; there are other options) than to start with the orchestration system.

This is the situation we're in. We're beginning to reach the limits of what can be handled on a single instance, mostly regarding memory.

Re: K3s – Lightweight Kubernetes

#33
post #27
post #23

Earlier quoted context omitted.

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.

Nope, they mean there's no flash memory available on the resource constrained device to store megabytes of useless runtime. Routers/other IOT Linux devices regularly use SPI ROM chips sized 4MB..16MB, you can't just install a 100MB Ubuntu/Arm rootfs on those.

I think the days of the small SPI flash chip are numbered.

A a few hundreds of megabytes of flash will soon cost less than the plastic and manufacturing costs of the chip itself. At that point, manufacturers will be putting in 128megabyte flash chips simply because 16 megabyte flash chips cost more.

The only place that argument won't apply is in microcontrollers where the flash is on the same die as the CPU.

Re: K3s – Lightweight Kubernetes

#34
post #22

Welcome 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.

...and where a 40MB binary is called "small".

And it has to run on every node even if the worker nodes are just running workloads.

Re: K3s – Lightweight Kubernetes

#35
post #2

Do you think kubernetes are necessary for small businesses?

Nope but it solves problems you have to fix yourself otherwise anyway:

- Rolling update? Build it yourself or get it with k8s - Infrastructure as code? Do it somehow yourself with ansible, awx or other setup OR just use k8s - Running different workloads on a bunch of hardware with resource scheduler -> some trickery or x different kind of vms

I like it very much and i hope and guess that the k8s way will take over a lot. And since i'm working with k8s i really wanna have it at home. k3s sounds like a very good way forward.

If you have a good working little setup, you don't need to replace it with k8s.

Re: K3s – Lightweight Kubernetes

#36

Earlier 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?

Kube is fine for this, but don't roll your own, use GKE. Perhaps you'd be better served using more managed services, though?

What do you mean by more managed services?

Re: K3s – Lightweight Kubernetes

#37
post #24
post #16

Earlier quoted context omitted.

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.

Same. What does it have to do with kubernetes?

Well if you want a nice cheap, small cluster, with HA, and wide community support, and a container model so you have to trust the applications less. What else are you going to use? What else is going to provide a nice easy to use HA raspberry pi that's $100 ish?

Re: K3s – Lightweight Kubernetes

#38

Earlier 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?

A single baremetal server with just docker containers. It's much easier to migrate from just containers running on nodes to an orchestration system (marathon, nomad OR k3s/k8s; there are other options) than to start with the orchestration system.

In my case it's a single bare metal server with KVM guests and ansible.

Docker is on my long term list (maybe) but the current system is fast, stable and requires little intervention so docker would have to offer a massive change not a step change to make it worth it.

I always default to things I know until the benefits are clear and it's worked out well so far.

Re: K3s – Lightweight Kubernetes

#39
I've been laughing myself of for some minutes, not because the project is uninteresting (I'll be testing it next week on ARM, probably), but because I've decided to call this "Kubernetres" (Being 'TRES' three in Spanish)
Post reply on HN