aqeelat / swe645

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abdullah Alaqeel
G00915482

Website:

Server:

Agnets (load balanced)

Video:

Docker Repo:


Server:

Cluster I created a t2.medium EC2 instance and:

  • installed docker
  • installed jenkins
  • ran rancher as a docker container
    Steps to reproduce are in this script.

Agents:

After much trial and error, I decided to go with setting up RKE on Azure virtual machines. My deployment contains 2 virtual machines deployed automatically by Rancher.
I used this tutorual to do the steps necessary to link Rancher with Azure.

Deployments

Jenkins

I created a multi-step jenkins pipeline and used multiple plugins to achieve the desired goal. The steps I went through are similar to the reference document.

However, to deploy the updates to kubernates, I run a kubectl script to update the image in the kubernates deployment, which is then rolled out to all the pods.

The Ant build can be found here: build.xml

Jenkins Build Config

Github

Webhook added! Web Hook

Docker

I created a public repository to manage the updated docker image. The dockerfile is here: Dockerfile Docker Repo

About


Languages

Language:HTML 84.1%Language:CSS 11.2%Language:Shell 4.2%Language:Dockerfile 0.5%