DEV Community

Azmat Ahmed
Azmat Ahmed

Posted on

My DevOps Week 15 Journey: Kubernetes Deployments, Services, and NGINX Ingress

Content:

This week, I focused on Kubernetes hands-on practice using Minikube. Here’s a summary of everything I learned:

  1. Minikube Setup

Installed and configured Minikube

Set up Master and Worker Nodes

Explored master components (API Server, Scheduler, Controller Manager, etcd)

Learned how Kubelet runs containers on nodes

  1. Deploying Applications

Deployed Nginx, Apache, and Redis via apps.yaml

Exposed apps with NodePort Services

Key commands:

kubectl get pods
kubectl describe pod
kubectl logs

  1. Self-Healing and Scaling

Created Deployment with 3–4 replicas

Deleted a pod manually to test self-healing

Monitored pods with:

kubectl get pods -w

  1. Kubernetes Services

ClusterIP: Internal access

NodePort: External access via :

LoadBalancer: External access in cloud setups

Services control internal/external routing

  1. NGINX Ingress & HTTPS

Enabled NGINX Ingress in Minikube

Created Ingress YAML for custom domain routing

Secured app with TLS/HTTPS:

kubectl create secret tls -tls --cert=tls.crt --key=tls.key

Verified routing and HTTPS access

Key Learnings

Kubernetes provides high availability, self-healing, and scaling

Services + Ingress enable secure external access

Deployments and ReplicaSets ensure reliable pod management

Hands-on practice with Minikube strengthens understanding of Kubernetes architecture

Top comments (0)