| Post Reply | RetroFed Forum Forum Index » Selfhosted |
| Author | Message | ||
|---|---|---|---|
|
nagaram
piefed.social
nagaram@piefed.social Joined: 2026-02-12 |
Wanting to dip my toes into kubernetes for homelab stuff and I have a few questions.
|
||
| 3 Original | |||
|
BesserGehVegan
feddit.org
BesserGehVegan@feddit.org Joined: 2024-06-24 |
Kubernetes is great to get into. I don't think it has that steep of a learning curve to get started. Sure, there are quite a few objects, but they all follow a pattern. The three essentials are pod (think of it as a container definition), a service (to make your pod accessible by other things) and ingress (which is basically a reverse proxy).
Then when you have your 5 VMs created take a look at kubespray. It is a great tool to get started as it does all the heavy lifting during install. For the beginning go with the default config. If you want to add more things, you can just enable those modules down the road and run it again, then it will install the additional things. Make sure to set the IPs of your VMs in the config and use the docker container to run the ansible script. Tip: when you go with flatcar you need to add the parameters --user Core --becomeUser root. Good luck with it! When you managed to get it running, check out ArgoCD. That way you can have your config in Git and ArgoCD ensures your cluster is always configured the way you have it in Git. With kubeseal you can encrypt secrets so you don't have to have sensitive data in your repo. And for storage, start with NFS shares, they are easy to get into. If you happen to have a NAS with TrueNAS, there is a project called DemocraticCSI. With that you can automatically provision storage on your NAS and set up a NFS, Iscsi or NvmeOf share. |
||
| 1 | |||
| Post Reply |
Back to top |