- I am preparing for CKAD exam. I will be adding the hand-on lab excercies I executed during the learning.
- Refer to yml files under apache-https-deployment-service folder to deploy httpd with container port on 80 and expose the httpd service for external access.
- Refer to yml files under petclinic-deployment-service folder to deploy springboot application with container port on 8080 and expose the app for external access.
- Refer to yml files under prometheus-deployment-service folder to deploy Prometheus with container port on 9090 and expose the /metrics for external access.
- Refer to yml files under jenkins-deployment-service folder to deploy Jenkins with container port on 8080 and expose it for external access.
- First time access to Jenkins requires administrator password, follow below steps;
- Logint to one of the pod using command kubectl exec -it jenkins-deploy-5f8969fd59-2qdgs -- bash
- Navitage to Jenkins secrets folder /var/jenkins_home/secrets/
- Copy contents of file cat initialAdminPassword
- Provide the password in Jenkins home page
- First time access to Jenkins requires administrator password, follow below steps;