Steps to perform this project
-
Clone the project - https://github.com/sdkdeepa/Udacity-project3-starter-N-solution/blob/master/project/
-
To Run locally:
- run
npm i
npm start
- run
-
Create docker images for front, backend feed, user, frontend and reverse proxy
-
Create EKS cluster and node group ![AWS-EKS-nodegroup]
-
Connect your deployment files to k8s
aws eks --region <region> update-kubeconfig --name <name of the cluster>
-
Run all the yaml files from k8s prject file
kubectl apply -f .
kubectl get all
kubectl port-forward service/frontend 8100:8100
use new tab on the terminalkubectl port-forward service/reverseproxy 8080:8080
use new tab on the terminal
-
Sync the project with Travis CI by selecting the github repo
-
Create all the Environmental variables in the repo settings of travis
-
Trigger build
-
Once your application builds successfully in travis, you have connected your project to CI CD pipeline!