Member-only story

K8s Bootcamp Day 2 — More about Pods, Deployments, Namespaces and YAML

Erandi Ganepola
10 min readJan 28, 2024

--

K8s Bootcamp: Forge Your Superpower with Hands-on Exercises from Novice to Advanced Deployments

Creator: Library of Congress | Credit: Library of Congress via Picryl.com | Creative Commons License details

Hello there! If you are new here, get a quick start to this article series with my first article on K8s Essentials: Pods, Deployments, and Your Superpower.

This K8s Bootcamp will discuss novice to advanced K8s concepts and hands-on exercises. Also, this article series will benefit you in achieving your CKAD certification.

Today we are diving a little deeper into Pods, Deployment, and two new topics: YAML and Namespaces. So let’s get started.

YAML

YAML is the language you use to talk to Kubernetes, telling it how to build and manage your application’s infrastructure. It specifies everything from containers and their images to networking resource allocation and even deployment strategies.

Each YAML configuration file has 3 key parts/top-level properties:

  • metadata — Provides basic information about the object, like its name, namespace, labels, and annotations.
  • spec — Defines the desired state or configuration of the object. Specifies what you want Kubernetes to create or manage. As an…

--

--

Erandi Ganepola
Erandi Ganepola

Written by Erandi Ganepola

Solutions Architecture | Thinker | @WSO2 LLC for North America

No responses yet