-
The project takes a Dockerfile and creates a Docker container in the pipeline. -Refer to the image Build Docker Image in Pipeline.jpg and Push Docker Image in Pipeline.jpg By running the ./kubernetes/deployment.yaml with the command "kubectl apply -f kubernetes/deployment.yaml" - added in "deploy to cluster.sh" file the container was created.
-
A screenshot of the AWS console in the EKS section showing the cluster
- See picture: Eks_cluster
- A screenshot of the AWS console in the CloudFormation section showing the stack for the cluster
- See picture: CloudFormation_stack
- Please explain in detail how the rolling deployment works in kubernetes in your project and how did you implement it. You can create a list of the events that happened from the start to the end of a rolling deployment.
- Refer to Deployment Details_Rolling Deployment Success.jpg for a list of events.
- Rolling Deployment is implemented by these lines in deployment.yaml file:
spec:
replicas: 3
selector:
matchLabels:
app: capstone
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
-
Create an Nginx “Hello World” static website application.
-
builder docker container, which should serve a static website
-
build Jenkins pipelines for linting html file, building docker image and uploading docker image to Dockerhub
-
build kubenetes container on AWS with eksctl_cluster.sh based on the image on dockerhub
-
serve our website on AWS kubenetes with rolling deployment with deploy to cluster.sh