Skip to content
.
Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
Jenkinsfile
README.md
questions_answered.txt

README.md

exercise

The docker folder holds the Dockerfile and a run.sh and build.sh script.

The build script basically fetches the helloworld.jar from the server and executes it in a non-root user context.

The run script shall be used for manually testing/deployment of this image.

The Jenkinsfile consists of the following stages and runs on a jenkins node with access to the kubernetes cluster via kubectl

  • github checkout
  • building the Docker image
  • deploying the built image via kubernetes with 3 replicas

What is missing?

The entire first optional task of automating the highly available and load balanced cloud environment and kubernetes cluster creation is missing.

Almost the entire second optional tasks are missing, except the non-root user context for the Docker image.

You can’t perform that action at this time.