chaidocs
docker-k8s-fundamentals

Introduction

Akash Kadlag 12 pages 5 min read Updated Nov 18, 2026
On this page
  1. Fundamentals of **Docker** & **Kubernetes**
  2. **Thank You** so much.
  3. "Be **good at the basics** first..!"
  4. Akash Kadlag
  5. What we're **not** covering today
  6. What we're covering today
  7. What helps you follow along
  8. Configuration formats
  9. How to read and write **YAML**
  10. Where to read, play and keep learning
  11. प्रेजेंटेशन में जो भी कहूंगा सच कहूंगा, **सच के सिवा कुछ नहीं कहूंगा...**
Fundamentals of Docker & Kubernetes
chaicode.com
Notes
Welcome everyone. Tonight is the fundamentals of Docker and Kubernetes. The journey we take: from the classic frustration of 'it works on my machine' to software you can ship anywhere and it just runs. This chapter is the introduction: who I am, what we cover, what we skip, and what you need to follow along.
Thank You so much.
chaicode.com
Notes
The source slide for this chapter was an empty placeholder titled New slide with no items, so this opening keeps only what it had: its place as the first slide of the Introduction. Use this slide to welcome the audience and say in one sentence what the talk is about. No facts, numbers or examples were given in the source, so none are added here; fill in your opening points from your own material. Hand over to the next slide once the subject of the talk has been stated.

Every good engineer I know says

"Be good at the basics first..!"
chaicode.com
Notes
Ask the chat: type 1 if you've ever said this, or heard it. Pause and let the ones roll in. Everyone has lived this. Say: by the end of tonight, you'll know exactly why this happens and which tools killed this sentence.

Who am I

Akash Kadlag

Your Next Tech Partner

  • Sr. Software Developer
  • Educator @ ChaiCode
  • Find me: YT, X, LinkedIn, GitHub, Insta at @yntpdotme
  • Website: yntp.me
chaicode.com
Notes
Keep this to about 60 seconds. Full stack developer and freelancer, working across full-stack and DevOps. Previously at iNeuron (verify or edit this line). Community lead (add the community name). Tell one personal line: the first time Docker saved you, or the first deploy you broke. Everything is at @yntpdotme, or yntp.me.
What we're not covering today
chaicode.com
Notes
Say: Kubernetes is a whole ocean. Today we just learn to swim at the shore. We skip the deep Kubernetes topics: networking, storage, Helm, operators, security. No production cluster setup, no cloud-specific services, and not every Docker command or flag. The deep dives come in upcoming webinars and on YouTube.

What we're covering today

  1. 01WhyWhy Docker and Kubernetes exist: the problems they solve
  2. 02FoundationsA short history, the SDLC, what DevOps is, why CI/CD matters
  3. 03DockerContainers, how they differ from VMs, running many with Compose
  4. 04KubernetesWhat it is and why we need it, the basics only
  5. 05Adopting itHow to learn DevOps, Docker and Kubernetes
chaicode.com
Notes
Five parts tonight. First, why these tools exist and what problems they solve. Then foundations: a short history, the software development life cycle, what DevOps is, and why CI/CD matters. Docker: containers, how they differ from virtual machines, and running multiple containers with Compose. Kubernetes: what it is and why we need it, basics only. And finally how to learn and adopt all of this, including certifications.

What helps you follow along

  1. 01TerminalBasic usage: cd, ls, running commands
  2. 02An appYou've built or run some app in Node, Python or Java, any is fine
  3. 03BasicsA rough idea of a server, a port and an environment variable
  4. 04Config formatsJSON and YAML, because Docker and Kubernetes are configured with them
In plain words

Port A numbered door on a server that a program listens on, like 3000 or 8080.

Environment variable A named setting the program reads at start, like NODE_ENV=production.

chaicode.com
Notes
You don't need much. Basic terminal usage: cd, ls, running commands. You should have built or run some app before, in Node, Python or Java, whichever. A basic idea of what a server, a port and an environment variable are. And config file formats, JSON and YAML, because that's how Docker and Kubernetes are configured. Next slide covers them.

Configuration formats

YAML is a superset of JSON, so Kubernetes accepts both.

json

{
  "name": "web",
  "replicas": 3,
  "ports": [3000, 8080],
  "env": {
    "NODE_ENV": "production"
  }
}

yaml

# same data, shorter, and comments are allowed
name: web
replicas: 3
ports:
  - 3000
  - 8080
env:
  NODE_ENV: production
In plain words

JSON A data format with braces, quotes and commas; no comments allowed.

YAML The same kind of data written with indentation instead of braces; shorter, and comments allowed.

chaicode.com
Notes
Same data on both sides: a service named web, 3 replicas, ports 3000 and 8080, and an environment variable NODE_ENV set to production. YAML is a superset of JSON, so Kubernetes accepts both. People prefer YAML because it's shorter and allows comments. Say: we'll see YAML twice tonight, in Docker Compose and in Kubernetes. Now you can read both.

How to read and write YAML

  1. 01Indentation is structureUse spaces, never tabs
  2. 02key: valuePut a space after the colon
  3. 03- starts a list itemEach item on its own dash
  4. 04# starts a commentJSON can't have comments
  5. 05Quote values that look like something elseWrite version: "1.20", or it becomes the number 1.2
  6. 06true and false need no quotesWrite enabled: true, not "true"
chaicode.com
Notes
Five rules and you can read any YAML file tonight. Indentation is structure, and it must be spaces, never tabs. Key, colon, space, value. A dash starts a list item. A hash starts a comment, which JSON cannot do. Quote values that look like something else: version: "1.20" with quotes, because unquoted it becomes the number 1.2.
10 A meme image of a bored tabby cat resting its head down on a surface.
Notes
THESE PRESENTATIONS ARE AWESOME JUST KIDDING, I'M BORED

Where to read, play and keep learning

  1. 01Readdocs.chaicode.com
  2. 02Play in the browserlabs.chaicode.com
  3. 03Learn DevOpsChaiCode DevOps Playlist on YouTube
chaicode.com
Notes
Three places to go after tonight. Read the docs at docs.chaicode.com. Play in the browser at labs.chaicode.com, no install needed. To learn DevOps properly, follow the ChaiCode DevOps playlist on YouTube.
प्रेजेंटेशन में जो भी कहूंगा सच कहूंगा, सच के सिवा कुछ नहीं कहूंगा...
chaicode.com
Notes
Quick recap of the chapter: you know who I am, what we cover, what we skip, and what you need. You can now read both JSON and YAML, which you'll see in Docker Compose and Kubernetes. Next chapter: why these tools exist and the problems they solve.