News for hackers. Stuff that matters.
Re:Domesticating Kubernetes by rb808 on Friday May 01, 2020 @08:59AM (#23041521)
I've given up running my own k8s at home a couple of times. It does seem to be getting easier, but then upgrading and maintaining breaks me again. + the other stuff like running your own container registry. Then with new centos podman breaks everything that worked OK in docker. I hate this stuff, so many problems its worth ignoring the whole stack.
Re:Domesticating Kubernetes by StreamBright on Friday May 01, 2020 @09:42AM (#23041879)
I do not blame you. I try to avoid it as long as it is possible. The amount of time, energy and effort wasted on this is just insane.
Re:Domesticating Kubernetes by brianwawok on Friday May 01, 2020 @10:07AM (#23042093)
Hosted k8s has changed my life. Let me focus on my business and not my infra.
Re:Domesticating Kubernetes by StreamBright on Friday May 01, 2020 @12:27PM (#23043727)
Have you had any serious yet? If you are on the happy path does not really matter what you use.
Re:Domesticating Kubernetes by brianwawok on Friday May 01, 2020 @02:43PM (#23045192)
Any serious what? I am running a mildly successful SaaS business on hosted kubernetes, yes.
Re:Domesticating Kubernetes by StreamBright on Friday May 01, 2020 @04:53PM (#23046359)
Sorry, HN made me retry couple of times. Any serious troubles with Kubernetes. Have you had any of those?
Re:Domesticating Kubernetes by brianwawok on Friday May 01, 2020 @08:50PM (#23048067)
No I have not. Going on 3 years now?
Re:Domesticating Kubernetes by StreamBright on Saturday May 02, 2020 @03:23AM (#23050035)
Great. So you do not have any experience with the worst-case scenario. That is exactly my point. I would like to hear your opinion once you fixed an outage that is caused by K8s.
Re:Domesticating Kubernetes by brianwawok on Saturday May 02, 2020 @01:25PM (#23053325)
Well what is this outage caused by?

Not understanding how k8s work, or actual provider screwing up?

if the former - I try to read carefully and test my workloads in a test cluster before I do it in prod.

if the latter, I think google has excellent operational excellence.

This is like saying you wouldn't take driving advice from me until I total a few cars. Perhaps I didn't total a few cars because I make good driving decisions?

Re:Domesticating Kubernetes by StreamBright on Saturday May 02, 2020 @05:39PM (#23055148)
An outage that is caused by k8s. You can pick a random from this list. https://github.com/hjacobs/kubernetes-failure-stories

>>This is like saying you wouldn't take driving advice from me until I total a few cars

No, I am saying you do not have enough experience with k8s. That is all. Totaling a car implying you are driving, using k8s implying that whoever wrote that particular part of k8s is driving. You have some control but ultimately you need to understand what is going on. As that list shows many companies who put k8s into production learned it in a hard way.

Re:Domesticating Kubernetes by brianwawok on Saturday May 02, 2020 @08:22PM (#23055947)
Sorry I’m not following

Should I compile a list of failure stores for companies that ran Linux because Linux is complicated or has had various bugs?

How about a list of failure stories of how Ruby causes problems?

You can get errors with any system. You would need to prove to me that k8s has say more errors per day than a competitor (lambda? VMs). I just don’t understand...

Re:Domesticating Kubernetes by StreamBright on Sunday May 03, 2020 @03:49AM (#23057550)
>> Hosted k8s has changed my life. Let me focus on my business and not my infra.

This is the claim that you made. I would argue that since you do not have experience with it you perceive it as you do not need to focus on your infra. Once you run into a failure with k8s and you actually need to fix it, this might change. That is all.

Re:Domesticating Kubernetes by brianwawok on Sunday May 03, 2020 @12:35PM (#23060058)
Why would it

I have run into Linux failures. I still use Linux.

I have ran into bugs in Java. I still use Java when it makes sense.

So not sure what you are trying to get to. You give up on a technology the first time you have a problem?

Re:Domesticating Kubernetes by rb808 on Friday May 01, 2020 @01:13PM (#23044253)
expensive though?
Re:Domesticating Kubernetes by brianwawok on Friday May 01, 2020 @02:44PM (#23045209)
Not really, total cloud costs are under 5% of my revenue.

If I want to shave pennies, I have many places to shave before the very thing that is the heart of my business.

Re:Domesticating Kubernetes by tuananh on Friday May 01, 2020 @09:54AM (#23041981)
what do you end up using instead of k8s?
Re:Domesticating Kubernetes by 0xEFF on Friday May 01, 2020 @10:25AM (#23042273)
Plain old systemd unit files work great. If you really need containers for some reason and love UID and GID mapping then podman in systemd is great.

The only reason I’ve found to run k8s at home is if your full time job is operating k8s at work.

Re:Domesticating Kubernetes by Bombthecat on Friday May 01, 2020 @11:06AM (#23042681)
I mostly use docker compose. Perfect fit for tinkering but not over complicated and huge ram eater.

Also:k3s might be an option.

Re:Domesticating Kubernetes by bradgessler on Friday May 01, 2020 @01:31PM (#23044448)
Compose is great for home use.

If you run your home server on a separate box, like a RaspPi or NUC, docker-machine via SSH can make provisioning and updating a tad easier.

Re:Domesticating Kubernetes by castillar76 on Friday May 01, 2020 @05:33PM (#23046748)
I've plugged it before, but Portainer (portainer.io) is what finally got me into running containers for apps. It presents a really nice interface for running individual containers or stacks including docker-compose files, and it extends the nerd knobs for doing things like custom networking or filesystem mounts. I paired it with Ouroboros for doing automated container upgrades in the background, and the result is that I have a solid set of container apps running at all times that I never have to touch.

Were I learning k8s for work, it wouldn't be a good solution, but for simple home apps that you want to fire and forget, it definitely beats doing a hand-made installation and periodically care-and-feeding them.

Re:Domesticating Kubernetes by dkryptr on Friday May 01, 2020 @01:28PM (#23044413)
I've used Nomad by HashiCorp and it's been really nice to use. Though I haven't needed to scale it up a ton so I can't comment on that, but the day-to-day deploying of updated apps is nice and works well.
Re:Domesticating Kubernetes by StavrosK on Friday May 01, 2020 @10:25AM (#23042267)
docker run -d --restart=unless-stopped