News for hackers. Stuff that matters.
Re:Bare-Metal Kubernetes with K3s by mrweasel on Tuesday December 22, 2020 @11:39AM (#25508084)
>For example, you're no longer manually editing nginx conf,

You now have to do the configuration in YAML, which is MUCH MUCH worse.

Re:Bare-Metal Kubernetes with K3s by zimbatm on Tuesday December 22, 2020 @12:01PM (#25508421)
Or more accurately, you now have to understand both the nginx.conf file format, and the right way to nudge the YAML so it produces what you want. Plus some intermediate wrapper script that sets things up on container start that does more funky things based on environment variables.
Re:Bare-Metal Kubernetes with K3s by nouney on Tuesday December 22, 2020 @03:14PM (#25510662)
I don't get it, how do you configure nginx with a YAML file?
Re:Bare-Metal Kubernetes with K3s by verdverm on Tuesday December 22, 2020 @04:00PM (#25511185)
You don't directly. You add some extra lines of yaml to an k8s ingress resource, nginx detects this and updates itself. A single nginx container can service many ingresses for each of your apps. The idea is to distribute the config to the app manifests they are related to