Kubernetes Learning Series, Session 1: Your First Cluster and First Deployment
Details
Kubernetes has a reputation for being intimidating. It doesn't have to be. In this first session of our weekly Kubernetes learning series, you will build a real cluster on your own laptop and watch Kubernetes do its job.
What we will do
Create a local Kubernetes cluster with kind (Kubernetes in Docker)
Deploy a web app with a Deployment and see how it creates Pods
Expose it with a Service and reach it from your machine
Break it on purpose: delete a Pod and watch Kubernetes heal itself
No cloud account and no cost. Everything runs locally on your laptop.
What you will learn
The three core ideas: a Deployment manages desired state, Pods run containers, and Services give a stable route
Reading cluster state with kubectl get and kubectl describe
Why desired state vs actual state is the heart of Kubernetes
How to prepare (20-30 minutes)
Follow the setup guide: https://www.aanpatel.tech/community/k8s-setup/ and pick your OS tab (Windows with WSL 2, macOS, or Linux).
Verify your install. You are ready when docker version, docker ps, kubectl version --client, and kind version all run without errors.
Optional but recommended: create your cluster early with kind create cluster --name k8s-learning, then run kubectl get nodes. You should see one node with STATUS Ready. The first run downloads an image, so doing it ahead saves time on the day.
You will need: a laptop (Windows with WSL 2, macOS, or Linux), Docker Desktop or Docker Engine, and about 4 GB of free RAM.
During the session
Keep two terminal windows open (one for commands, one for watching output)
Need setup help? The first few minutes are reserved for it, so join about 10 minutes early
Questions go in the event chat
Who should attend
Developers, students, and engineers who have used Docker (or at least heard of containers) and want a gentle, practical start with Kubernetes. No prior Kubernetes experience needed.
About the series
Weekly 1-hour sessions. Next up: writing your desired state as YAML, then rolling updates and rollbacks. Attend one or all.
Agenda
---
Speaker
Aan Patel
Please visit https://aanpatel.tech; for a complete bio
Hosted By
Aan Patel, GDG Organizer
Hi! 👋
I'm a full-stack software developer. In my free time, I enjoy playing with new technologies, building prototypes, and connecting with others on platforms such as this one to grow my skills and share knowledge.
Thanks for stopping by. Visit https://aanpatel.tech to learn more about me or to get in touch!
Tobenna Okunna, Organizer
Hi all, my name is Tobenna Okunna. I build apps, primarily aimed at addressing material needs and improving outcomes for under-served communities.
Im looking forward to collaborating and learning with the engineering community.
A little bit about me:
- Originally from Nigeria
- Graduated w/ a CS degree from the University of San Diego in 2020
- Lead teams at multiple startup
- I have tons of side projects
- Played D1 football
- I'm an avid weightlifter
Complete your event RSVP here: https://gdg.community.dev/events/details/google-gdg-chapel-hill-presents-kubernetes-learning-series-session-1-your-first-cluster-and-first-deployment/.
