Completion steps →
- upload the source code to github
- setup circle ci and connect the github repository
- upload the .circleci/config.yml file to build pipeline
- This ci -cd pipeline build your docker-image and sent it to dockerhub
- setup ec2 on aws and take ssh of it
- setup minikube and create a sample pod.yml file
- start your kubernetes cluster
Step 1 → Upload code to github
Here we are not going to see how we setup if you have any issue in pushing your code to github you could checkout my previous blogs in git in my profile
check out this blog of mine for github error
- first you need to clone the following repository
git clone https://github.com/Aakibgithuber/Devops-end-to-end-deployment
2. Now push the exact to your github account and move forward to Circle ci step
Step 2 → setup circle ci and connect with github repository
Sign into your circle ci account and if you don’t have an account just sign up by the following steps