Tasks:
3 microservices in 3 different namespace
nginx: dev-nginx httpd: dev-httpd tomcat: dev-tomcat
Microservice 1
- Create Docker Image nginx free css template
- Build it and deploy to k8s
Microservice 2
- Httpd container
- Make deployment
- Send index.html via configMap
Microservice 3
- Deploy tomcat container
- Make deployment
Nginx ingress controller deploy on nginx-ingress namespace and 3 end points for 3 microservices
<subdomain.learndevops.live>
Reading Task
- Node affinity
- Anti Affinity
- Node Selectors
- Pod Affinity
- Taint and Tolerance
Previous task twist
- 3 node
- one pod on each node
- node 1 ⇒ httpd
- node 2 ⇒ tomcat
- node 3 -⇒ nginx