Like a dufus this morning I did a hard reset on a git repo for getting I was working on a manifest for. You see I gen...
Posts tagged: kubernetes
All posts with the tag "kubernetes"
!https://www.youtube.com/watch?v=HdUbTyvrfKo
The Right Reasons To Run Kubernetes In Your Homelab
Running kubernetes in your homelab is a fantastic way to learn, explore, express yourself, and run services that you use.
There are not many
There are also The Wrong Reasons To Run Kubernetes In Your Homelab
...
I learned to today that setting on your minecraft server causes the JVM to egregiously allocate all of that memory. N...
The Wrong Reasons To Run Kubernetes In Your Homelab
Running kubernetes in your homelab is complex, time consuming, there are almost no docs to help you (homelab focused docs for things you want to install), and nothing is copy paste. You have to make everything happen yourself.
There are also The Right Reasons To Run Kubernetes In Your Homelab.
No it’s not. It’s much different than running docker, compose, swarm. It’s meant for scale, it’s complex, it’s made for enterprise, not your local development or your homelab. It can do these things, it can do them quite well, but it’s not the target audience.
...
The k3s system-upgrade controller is a fantastic tool for upgrading k3s automatically. It has done a fantastic job fo...
!https://justingarrison.com/blog/petaflop-cluster/
Should I kubernetes My Homelab
Yes
Ok we should probably dive deeper into this, but good chance if you are here and have made it this far you it would probably be a fine choice. The choice is quite time and skill dependant.
First thing up, if you like copy pasting thing into your homelab, changing a few config options, but mostly running it as the docs instructed, kubernetes is not for you. The homelab/self hosting space is heavily reliant on docker compose, 90% of the things you want to run will likely have a docker command, and likely a docker compose example that you can copy paste and get running right away. Maybe 5% of projects have something for kubernetes, you Will have to do it yourself.
...
!https://www.meetgor.com/thoughts/just-fucking-use-kubernetes/
!https://sliplane.io/blog/kubernetes-isnt-for-you
just fucking use kubernetes
You want to run containers?
JUST FUCKING USE KUBERNETES.
Shut up. Close twitter and fucking do something. Life is complicated. You know what else is complicated? Email. DNS. Life. Kubernetes is the least painful way to orchestrate containers at scale. Docker Compose is for your laptop.
...
If you need to target a specific k8s node in the cluster, you can use labels. You want to treat your nodes as much li...
!https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/examples/private-image-registrie...
!https://www.youtube.com/watch?v=MQbkN99eBD8
!https://github.com/ngalaiko/tree-sitter-go-template
After first setting up a new k3s instance your kubeconfig file will be located in /etc/rancher/k3s/k3s.yaml.
I've started leaning in on kubernetes kustomize to customize my manifests per deployment per environment. Today I lea...
kubectl dash k
Kubernetes ships with a feature called kustomize that allows you to customize your manifests in a declarative way. It's a bit like helm, but easier to use. I...
!https://www.youtube.com/watch?v=spCdNeNCuFU&t=247s
kind cluster
kind is a very useful tool to quickly standup and teardown kubernetes clusters. I use it to run clusters locally. Generally they are short lived clusters for trying, testing, and learning about kubernetes.
Kind is Kubernetes in Docker, its very fast to get a new cluster up and running. Other than checking a box in docker desktop it is the easiest way currently to get a cluster up and running. I’ve used docker desktop for k8s before I really developed on k8s and it was buggy at the time and sometimes started and sometimes didn’t, when it didnt I had no idea how to fix it. I’d suggest kind as the best option to get a cluster up and running locally.
If you are looking for a production ready cluster this is not it. I really like k3s. At the time that I chose k3s it was the most lightweight option that easily supported multi-node clusters.
...