Live data from Hacker News

K3s – Lightweight Kubernetes

k3s.io

121–130 of 194 posts

Re: K3s – Lightweight Kubernetes

#122
post #74
post #59

Earlier quoted context omitted.

Can containers really improve security in case of IoT where there's a single application that pretty much needs access to the whole device? I think they may only increase the attack surface. High availability seems like an orthogonal problem in case of IoT. It's not like you can spawn more devices. But I acknowledge that it may be just me getting old. Still happy to learn more arguments for using k8s in IoT (if you a…

I don't think the suggestion for Kubernetes in IoT is to run it on the Things, but for small local servers running services that work with the devices, instead of pushing all that in the cloud.

Not necessarily. I've seen some k8s on IOT industrial use cases where it made sense. Solar power stations were one example, IIRC.

Re: K3s – Lightweight Kubernetes

#123
post #74
post #59

Earlier quoted context omitted.

Can containers really improve security in case of IoT where there's a single application that pretty much needs access to the whole device? I think they may only increase the attack surface. High availability seems like an orthogonal problem in case of IoT. It's not like you can spawn more devices. But I acknowledge that it may be just me getting old. Still happy to learn more arguments for using k8s in IoT (if you a…

I don't think the suggestion for Kubernetes in IoT is to run it on the Things, but for small local servers running services that work with the devices, instead of pushing all that in the cloud.

Rancher Employee here: One of the use cases we have been seeing is for stores, factories, oil wells, base stations, wind farms, etc. the apps people are trying to deploy to these now look much more like data center/micro services apps. Kafka, Redis, logstash, etc. K8s is really good for running these in a reliable and consistent way on potentially divergent hardware.

Re: K3s – Lightweight Kubernetes

#124
post #3

This is extremely welcome. Kube needs to glom on to all available architectures to fulfill its destiny, to some extent, and the memory/cpu usage of kubeapi et al. can be prohibitive for small setups. Having to revert to ansible/systemd in "some cases" really weakens the story of a universal datacenter O/S. My hope is for more competition for development k8s (or k3s!) - minikube and docker-for-desktop is plagued with…

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.

Re: K3s – Lightweight Kubernetes

#125
post #68

Earlier quoted context omitted.

True, but not for all developers. For at least 50% of developers, the "physical reality" is that of gathering client requirements quickly and accurately and implementing them correctly and on budget. Not of micro-optimizing CPU cache hits :)

You missed the point. A day will come when CPU speeds and RAM sizes will stop increasing. When that day comes you don't be able to ignore performance, because a lack of performance will mean actual, real-world dollar costs for the client, and so performance will be the #1 requirement of the client.

I didn't miss it. For the vast majority of applications, which are Line Of Business (LOB) applications, performance doesn't really matter. It's good enough.

LOB applications are made to replace humans and they need to be a multiple of times faster than human operations (+ the extra benefits of automation). And the vast majority of them are. And most programmers are working on those applications.

So there's 0 incentive for what you're saying.

The real heavy lifting will be done, as usual, by a handful of people: OS devs, DB devs, game engine devs, runtime devs, etc.

Re: K3s – Lightweight Kubernetes

#126
post #117

I'm going to try this - I really hope its good. I've spent a lot of days trying to get k8s working with a cheap home server. With VMs and docker conflicting networks its a nightmare. Upgrading is worse.

I've tuned a Kubernetes setup to run pretty well on a Pi cluster with 1 GB RAM per node here: http://www.pidramble.com — there's a configuration for testing in Vagrant/VirtualBox machines as well.

Re: K3s – Lightweight Kubernetes

#128
post #56

Anyone know if this will run on a Pixelbook? (inside the Crostini linux virtual machine in ChromeOS). Thanks

Got excited about this too, but unfortunately no, it doesn't run on Crostini. Fails with querying netfilter. Also tried through docker-compose from the GH repository. It starts the k3s server fine but fails on starting the nodes as they require privileged container mode, which doesn't work on Crostini at the moment.

Mentioned this elsewhere, but if you create an issue, Darren mentioned on the CNCF webinar that they would be looking into ChromeOS soon.

Re: K3s – Lightweight Kubernetes

#129
post #12
post #2

Do you think kubernetes are necessary for small businesses?

Necessary, no. But with the hardware almost free, a 3 x Raspberry Pi cluster, switch, access pointer, and a small UPS would be a few $100 which allows for some interesting possibilities. Pretty much any business will want inventory tracking, tracking staff hours, monitoring cameras, sensors for detecting flooding/doors left open/freezers dying, running point of sales terminals, keeping the supply chain running smooth…

Yes, this is what's exciting to me about K3s. This is a business opportunity for Consultants. There are big companies already paying good money to implement LoFi clusters at scale https://medium.com/@cfatechblog/bare-metal-k8s-clustering-at...

Re: K3s – Lightweight Kubernetes

#130
post #10

Not trying to be snarky, just a sincere question - why would you use kubernetes for something like IoT?

https://medium.com/@cfatechblog/bare-metal-k8s-clustering-at...

Of all things, the Chik-fil-A tech blog gives a pretty good explanation of why you might want this.

Post reply on HN