Deployment Type - Rolling Deployment
Application - Nginx with customized index.html file
- JENKINS
- ANSIBLE
- KOPS (Kubernetes Operations)
- DOCKER
I ran into a little too many errors during this project, not the most fun but I definitely learnt a lot! I tried making a project with Blue/Green deployment before this one Repo, but couldn't resolve the errors there, so finally tried out the rolling deployment and it worked! Can't wait to try out my skills in a real world project.
Build - Build docker image and update the latest version of docker image on docker hub
Lint - Linting the Dockerfile using hadolint Linting the HTML file using tidy
run production - Creates service for exposing the nginx applicaiton
run development - Pulls the latest image of Capstone Project from Docker hub Creates a new deployment using the updated docker image
Ansible is used to control different instances and update them using rolling deployment.
New user 'ansadmin' is added on instance and ssh is configured for machines.
Kubernetes Operations is used to create cluster containing two nodes and one master node.
Cluster named capstone.in is created which is connected to s3 storage s3://capstone.project.