Luna Deployer is an automated module to deploy lunatech applications. Which is running on EKS and deploying the modules through Jenkins.
- terraform
- aws-iam-authenticator
- kubectl
- python 2.7 or above
- docker
Addition to above you'll have to configure aws credentials
git clone https://github.com/hari-karthig/lunatech.git
make airports
This will build airports application from luna-apps/airports/Dockerfile and it'll run as a container locally. Service exposed via host port 8085. (Please allow port 8085 in your firewalls or change the port in Makefile under airports option as per need)
make countries
This will build countries application from luna-apps/countries/Dockerfile and it'll run as a container locally. Service exposed via host port 8090. (Please allow port 8090 in your firewalls or change the port in Makefile under countries option as per need)
make clean
This will clean the local containers
make deploy
This will create an EKS cluster for you from terraform-eks module with addons mentioned in the kube-addons by executing bin/create_addons.py
Also, addons will create an ELB which has minions in backend
Get the ingresses which are created and add corresponding R53 records for them
Once those are propagated you should be able access Jenkins UI
make destroy
This will destroy the EKS cluster
- ELB's SG won't be destroyed by
make destroy
. You've to delete it through AWS console once VPC started destroying - Not able to view Jenkins login page
- Route53 entries should be added/updated through AWS console