I've been playing with a new k3s install the last week or so (if you didn't pick that up from the last few posts), but I've been stalled for a few days. Tonight I discovered why.
K3s comes with traefik (an edge proxy), and a slightly complicated way of configuring it. K3s ships with a basic configuration, and then the cluster admin (me, in this case) needs to add an extra file to overwrite the default.
I thought I was going to need to reinstall the cluster every time I wanted to update the config, and I was dreading that as I tend to work in a "make a small change, measure it's effect" loop, and I didn't want to wait five minutes for the install to finish every time.
So that was wrong, all I need to do is run a kubectl apply
command with the updated config file and k3s makes the change and restarts traefik.
I even wrapped the command in a Makefile, to make it even easier to deploy.
Conclusion: Automation really is the bees knees.