ITech With Om

ITech With Om Bringing complex IT topics like Kubernetes, CI/CD, Terraform, Linux, AWS, and SRE to learners. Application Support Engineer / SRE / DevOps

Defining the RoleAt the top, the image defines a DevOps Engineer as someone who integrates **development** and **operati...
08/05/2026

Defining the Role

At the top, the image defines a DevOps Engineer as someone who integrates **development** and **operations**. The primary goal is to:
* **Build** software efficiently.
* **Automate** manual processes.
* **Deliver** reliable updates to users at a fast

The DevOps Pipeline

The center of the image illustrates a typical **Continuous Integration/Continuous Deployment (CI/CD)** journey. It shows how code moves from a computer to a real-world user:
| Stage | Action | Tool Example |
|---|---|---|
| **Developer** | The starting point where code is written. | Local IDE |
| **GitHub** | Code is pushed to a central repository for version control. | Git |
| **CI/CD Pipeline** | The code is automatically built, tested, and verified. | Jenkins, GitLab CI |
| **Docker** | The application is "containerized" to ensure it runs anywhere. | Kubernetes (K8s) |
| **AWS Cloud** | The application is deployed to the cloud to scale for traffic. | Amazon Web Services |
| **Users** | The final stage where the live application reaches the audience. | Web/Mobile App |
> **The Loop:** A dotted line labeled **Monitor β€’ Feedback β€’ Improve** connects the "Users" back to the "Developer," highlighting that DevOps is a circular, iterative process rather than a straight line.
>
# # 3. Key Responsibilities
The bottom section highlights five pillars of what a DevOps Engineer actually does on a daily basis:
* **Automate:** They write scripts to handle repetitive tasks so humans don't have to do them manually.
* **Deploy:** They ensure that moving code from a test environment to a live environment is fast and error-free.
* **Scale:** They set up systems (like the cloud) so that if a million people visit a site at once, the servers don't crash.
* **Monitor:** They use dashboards to track the health of the system and catch bugs before users notice them.
* **Secure:** They integrate security check

HPAVPA
08/05/2026

HPA
VPA

08/05/2026
Taint & Tolerations
15/03/2026

Taint & Tolerations

πŸ” Ingress vs LoadBalancer – Kubernetes SimplifiedThis visual highlights a key Kubernetes concept:➑️ LoadBalancer exposes...
30/01/2026

πŸ” Ingress vs LoadBalancer – Kubernetes Simplified

This visual highlights a key Kubernetes concept:

➑️ LoadBalancer exposes a single service directly
➑️ Ingress acts as a smart entry point, routing traffic to multiple services using HTTP rules

Choosing the right one helps with:

βœ”οΈ Better architecture design
βœ”οΈ Cost optimization
βœ”οΈ Scalable microservices

In Kubernetes, Ingress and Ingress Controller work together to expose your applications to users outside the cluster (us...
22/01/2026

In Kubernetes, Ingress and Ingress Controller work together to expose your applications to users outside the cluster (usually via HTTP/HTTPS).

1️⃣ What is Ingress?

Ingress is a Kubernetes API object that defines rules for routing external traffic to internal services.

πŸ‘‰ Think of Ingress as a traffic rulebook.

What Ingress does

Routes traffic based on:

Host (domain name)

Path (/api, /login, etc.)

Supports:

HTTP / HTTPS

TLS (SSL certificates)

Path-based and host-based routing

Example

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: app-ingress
spec:
rules:
- host: myapp.example.com
http:
paths:
- path: /api
pathType: Prefix
backend:
service:
name: api-service
port:
number: 80

Simple flow

User β†’ Ingress β†’ Service β†’ Pod

⚠️ Important:
Ingress does nothing by itself. It only contains rules.

2️⃣ What is an Ingress Controller?

Ingress Controller is the actual engine that:

Reads Ingress rules

Configures a load balancer / proxy

Routes traffic accordingly

πŸ‘‰ Think of it as the traffic police that enforces the rules.

Common Ingress Controllers

NGINX Ingress Controller (most popular)

HAProxy Ingress

Traefik

AWS ALB Ingress Controller

Azure Application Gateway Ingress Controller

What it does

Watches Kubernetes API for Ingress objects

Creates routing configs

Handles:

Load balancing

SSL termination

Path & host routing

Rewrite rules

3️⃣ Why both are needed?

Component Role

Ingress Defines what traffic rules should be
Ingress Controller Implements how traffic is handled

❌ Without Ingress Controller β†’ Ingress rules won’t work
βœ… Without Ingress β†’ Controller has nothing to route

4️⃣ Real-world analogy

🏒 Office building

Ingress β†’ Visitor policy (which floor for which department)

Ingress Controller β†’ Security guard directing visitors

5️⃣ Ingress vs Service Type LoadBalancer

Feature Service LoadBalancer Ingress

Public IP One per service One for many services
Routing No path-based routing Yes
Cost Higher Lower
SSL Limited Advanced

6️⃣ When should you use Ingress?

βœ” Multiple services behind one

In Kubernetes, a Service is an abstraction that provides a stable network endpoint (IP + DNS) to access a set of Pods, e...
20/01/2026

In Kubernetes, a Service is an abstraction that provides a stable network endpoint (IP + DNS) to access a set of Pods, even though Pods are ephemeral (they can be created, destroyed, or rescheduled).

πŸ”Ή Why Kubernetes Services are needed

Pods get dynamic IPs β†’ they change when Pods restart

Applications need a fixed way to talk to Pods

Services solve this by:

Providing a stable IP/DNS

Load balancing traffic across Pods

Enabling internal and external access

πŸ”Ή How a Service works (internally)

1. Pods are created with labels

2. Service uses label selectors to find matching Pods

3. kube-proxy programs iptables/IPVS rules

4. Traffic sent to the Service is distributed across Pods

Client β†’ Service (IP/DNS) β†’ Pod1 / Pod2 / Pod3

πŸ”Ή Types of Kubernetes Services

1️⃣ ClusterIP (Default)

Accessible only inside the cluster

Used for internal communication

πŸ“Œ Example:

Frontend β†’ Backend

Backend β†’ Database

apiVersion: v1
kind: Service
metadata:
name: backend-svc
spec:
type: ClusterIP
selector:
app: backend
ports:
- port: 80
targetPort: 8080

🧠 Use case: Microservices communication

---

2️⃣ NodePort

Exposes service on each node’s IP

Port range: 30000–32767

Accessible from outside the cluster

Client β†’ NodeIP:NodePort β†’ Service β†’ Pods

πŸ“Œ Example:

type: NodePort
ports:
- port: 80
targetPort: 8080
nodePort: 30007

🧠 Use case: Testing / non-production environments

⚠️ Not recommended for production

---

3️⃣ LoadBalancer

Creates an external cloud load balancer

Automatically assigns public IP

Supported in cloud providers (AWS, Azure, GCP)

Internet β†’ Cloud LB β†’ Service β†’ Pods

πŸ“Œ Example:

type: LoadBalancer

🧠 Use case: Exposing applications publicly

---

4️⃣ ExternalName

Maps Service to an external DNS name

No selector, no Pods

πŸ“Œ Example:

apiVersion: v1
kind: Service
metadata:
name: external-db
spec:
type: ExternalName
externalName: db.example.com

🧠 Use case: Access external services like SaaS DB, APIs

---

5️⃣ Headless Service

clusterIP: None

No load balancing

Returns Pod IPs directly

πŸ“Œ Example:

clusterIP: None

🧠 Use case:

StatefulSets

Databases (MySQL, Kafka)

16/01/2026





A Pod is the smallest deployable unit in Kubernetes.It represents one or more containers that run together on the same n...
16/01/2026

A Pod is the smallest deployable unit in Kubernetes.
It represents one or more containers that run together on the same node.

This is how a Kubernetes Pod is created and managed, and the two ways (Imperative vs Declarative) to create it in a Kube...
15/01/2026

This is how a Kubernetes Pod is created and managed, and the two ways (Imperative vs Declarative) to create it in a Kubernetes cluster.

1️⃣ Cluster β†’ Node β†’ Pod β†’ Container (Hierarchy)

Flow shown on the left side:

Cluster
The whole Kubernetes environment.

Node (Worker Node)
A VM or physical machine inside the cluster.
πŸ‘‰ Node has its own IP address

Pod

Smallest deployable unit in Kubernetes

Runs inside a Node

Gets a unique Pod IP

Acts as a wrapper around one or more containers

Container

Actual application (example: nginx)

Always runs inside a Pod

Shares Pod’s:

Network (same IP)

Storage (volumes)

πŸ“Œ Key takeaway:
πŸ‘‰ Node IP β‰  Pod IP
πŸ‘‰ Containers do not get their own IP; they use the Pod IP.

2️⃣ Imperative vs Declarative Approach

πŸ”Ή Imperative (Command-based)

Shown at the bottom-left:

kubectl run nginx-pod --image=nginx:latest

You tell Kubernetes WHAT to do right now

Fast & simple

Mostly used for:

Testing

Learning

Temporary
---

πŸ”Ή Declarative (YAML / JSON)

Shown on the right side (Pod YAML):

apiVersion: v1
kind: Pod
metadata:
name: pod-nginx
namespace: default
labels:
app: nginx
type: front-end
spec:
containers:
- name: nginx-container
image: nginx:1.18

Applied using:

kubectl create -f pod.yaml
# or
kubectl apply -f pod.yaml

You describe DESIRED STATE

Kubernetes ensures reality matches the YAML

Best for:

Production

CI/CD

GitOps

βœ… Version controlled
βœ… Reproducible
βœ… Scalable & reliable

3️⃣ What the YAML Parts Mean

Section Purpose

apiVersion: v1 Kubernetes API version
kind: Pod Type of object
metadata Name, namespace, labels
labels Used by Services, selectors
spec Desired state
containers Application definition
image Docker image to run

What this image teaches

βœ” Pod is a logical wrapper around containers
βœ” Pod lives inside a node
βœ” Pod gets its own IP
βœ” Containers share Pod networking
βœ” Two creation styles:

Imperative β†’ quick commands

Declarative β†’ YAML (recommended)



Address

Near Mauli School
Shegaon
444203

Opening Hours

Monday 9am - 5pm
Tuesday 9am - 9pm
Wednesday 9am - 9pm
Thursday 9am - 9pm
Friday 9am - 9pm
Saturday 9am - 9pm
Sunday 9am - 9pm

Telephone

+919405257974

Alerts

Be the first to know and let us send you an email when ITech With Om posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The School

Send a message to ITech With Om:

Shortcuts

Share

Category