How can I effectively learn Kubernetes as a beginner?
Asked by
TechyTurtle42
I'm a senior engineer but I've got limited experience with Kubernetes (often referred to as K8s). In my new role, I'll be using it regularly, so I'm looking for the best resources or methods to learn it. I've been given a book called 'Kubernetes Bible,' but it's quite hefty. Is it worth diving into, or are there better alternatives?
Answers
Iโd recommend jumping right in! Pick a simple application and set up a K3s cluster on your machine. Start deploying your app using best practices for availability and scalability, like you would in a production environment. The official documentation is super helpful for any roadblocks you hit during the process; that's really the best way to learn!
Reply to this answer
Just a heads up, the proper way to refer to Kubernetes is "K8s"โitโs not just "k8"!
Reply to this answer
Honestly, the best way to get a solid grasp is to just practice and learn from mistakes. I found real understanding came when I started deploying projects directly on K8s in the cloud.
Reply to this answer
You might want to check out some of the other posts here asking similar questionsโlots of solid advice has already been shared!
Reply to this answer
When I was learning, I started with a simple project like a FastAPI app without any databases or complicated setupsโjust a basic Hello World API. I focused on deploying that in the cloud instead of locally; it really helped me get the hang of it without the hassle of local tools like Minikube. Keep iterating on your skills, taking notes, and wiping what you did to try againโit's all part of the process!
Reply to this answer
Add your answer
Answers are reviewed before publication.
CloudNinja99: Yeah, and if you're looking to run K8s locally, using Kind is a great choice. Itโs pretty straightforward for quickly setting up and tearing down your cluster. If you need a budget option for remote hosting, check out the Hetzner K3s GitHub repo.