Ingress - Context Path Based Routing¶
Link to all the Kubernetes Manifests¶
Step-01: Introduction¶
- We are going to implement context path based routing using Ingress
Azure Kubernetes Service with Azure DevOps and Terraform¶
Step-02: Review k8s Application Manifests¶
- 01-NginxApp1-Manifests
- 02-NginxApp2-Manifests
- 03-UserMgmtmWebApp-Manifests
Step-03: Review Ingress Service Manifests¶
- 04-IngressService-Manifests
Step-04: Deploy and Verify¶
# Deploy Apps
kubectl apply -R -f kube-manifests/
# List Pods
kubectl get pods
# List Services
kubectl get svc
# List Ingress
kubectl get ingress
# Verify Ingress Controller Logs
kubectl get pods -n ingress-basic
kubectl logs -f <pod-name> -n ingress-basic
Step-05: Access Applications¶
# Access App1
http://<Public-IP-created-for-Ingress>/app1/index.html
# Access App2
http://<Public-IP-created-for-Ingress>/app2/index.html
# Access Usermgmt Web App
http://<Public-IP-created-for-Ingress>
Username: admin101
Password: password101
Step-06: Clean-Up Applications¶
# Delete Apps
kubectl delete -f kube-manifests/
# Delete Azure Disk created for Usermgmt Web App
Go to All Services -> Azure Disks -> Delete disk
Ingress Annotation Reference¶
- https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/
Best Selling Azure Kubernetes Service Course on Udemy¶
Best Selling AWS EKS Kubernetes Course on Udemy¶
HashiCorp Certified Terraform Associate - 50 Practical Demos¶
🎉 New Course
Ultimate DevOps Real-World Project Implementation on AWS
$15.99
$84.99
81% OFF
DEVOPS2026FEB
Enroll Now on Udemy
🎉 Offer



