Hello everyone,
Recently I have returned to managing a kubernetes cluster in my homelab with Ansible on RHEL distros. Since I haven't touched to the installation stages since quite a long time I started to look for tutorials from the base installation to the cni configuration, MetalLB setup and metrics server installation.
In every single tutorial, I have seen major issues that made me pull my hair:
-
First and the worst, most tutorials obviously have the firewall disabled or tells you to deactivate it. Just. No. I know deactivating it makes everything much easier and many issues disappear as soon as you run a
systemctl stop firewalld
. But if you want to teach correcty, you wouldn't recommend something that would make you fired on the spot. -
CNI installations are straight forward but miss important information for troubleshooting. Stuff like putting flannel interfaces in the internal zone or adding some direct forwarding rules to firewalld can be necessary but again, everyone and their mothers have their firewall off so they never talk about it.
-
In MetalLB, the configMap used by the speakers is not created automatically by the official manifest. Missing it is impossible as the speaker straight up do not start and the logs are straightforward. Yet I have never seen one tutorial mention it.
-
Again in metalLB, if the controller is on a worker node, webhooks are not accessible and you cannot configure the load balancer. It's rare-ish and easy to fix but again, never seen any mention of that
-
While Flannel, MetalLB, Weave, ... clearly state which ports you need to open for their solutions, tutorials never do (firewall? Someone?)
-
The metrics server has some ... Particularities (like the need to modify the startup arguments or the dnsPolicy). Those are easily found in the github issues due to how frequent they're but I can never seem to find a tutorial mentionning those extra configuration to do.
-
Various basic stuff like a worker node + a cni being needed for coreDNS and the master node to become ready. Or how to verify your deployment of ingress/cni/metalLB is working correctly. If you are familiar with Kubernetes, it's not too hard to find the solution to those but when most of your audience, it should be explicit to at least share a random nginx manifest to test if everything is good.
This is mainly a rant because it is crazy to see that a tutorial that is supposed to explain the documentation but faster is utterly useless because of course, you won't get any forwarding issues between interfaces if your device is an open bar.
And that most of them are like this.
So to everyone who also tried to follow tutorials for the set up of their clusterw what was your experience with them? Were they also useless or did you find a gem that didn't simply copy pasted the documentation and took screenshots of an working cluster setup without trying their guide?
Solar and wind are not cheap enough
Solar on itself works between a few less than 8 hours and 16 hours depending on the solstice you are the nearest of.
And that's the theorical best.
Reality is efficiency will drop during summer because of the record temperatures each year and in winter we are seeing more sun (Haven't seen snow in 7-8 years btw) but the production is still relatively low.
If you want it to run 24h/24, you need to build batteries which adds more carbon and cost. And that's on top of the maintenance cost for the panels themselves.
Wind can work 24h/24 but you cannot predict it long term.
Wind too strong? We stop the plant. Wind too weak? Subpar production. And with climate change, your expectations on a few years basis can change very rapidly.
So how do you make sure we produce the same amount of energy with certainty? You build oversized farms more expensive than what you theorically predicted.
There is also the problem of land.
A wind or solar power farm requires a lot of land comparatively to nuclear if you want to approach the same power production.
That land can be occupied instead for housing, farming or anything else.
Comparatively, a nuclear plant can easily be circled in a few minutes by foot and produce over 1 Tera Watt of energy.
Once you compound everything, nuclear is the best solution we have at our current technology level but ridiculous anti-nuclear propaganda acts like it is a thing from the demon.(My green party almost closed several nuclear power plants. During the start of the russian war. To open gas power plant instead. Like WTF?).
So what will the rich people do?
Refuse to build nuclear because their fearmongering to push gas/oil backfired on humanity and refuse to build solar/wind because we could build 50 Disneylands in the same area.
I would love them to eat their shit and choose either solution still. But it's only a dream.