-
Clone the repository
https://github.com/SujithThirumalaisamy/remote-execution-engine
-
Build and publish all the images
docker build -t <repo>/exec-<service>:latest -f .\\apps\\<service>\\Dockerfile .
-
Push the images to the DockerHub
docker push <repo>/exec-<service>:latest
-
Provision the following Resources
- Create a EKS cluster and Configure kubectl
- Create a Cloud NFS storage ( 500Mi more than enough)
- Or Any other Persistent Volume Options will work
- persistent-volume and persistent-volume-claim manifests sould be confired as per the changes
- Only for SSL Certs and Config Maps and Secrets
- Create a PostgresSQL DB
- Create a Redis DB (Can also use a stateful set) Because redis shoud be quickly accessible.
- If planning to use redis inside the kube. Need to create a Stateful manifest
-
Use the *.yml manifests from the /packages/ops folder for the following
- Create Persistent Volume
- Create Persistent Volume Claim (Dilemma)
- Create ConfigMap (Configure it before creating)
- Add Kube config to Persistent Storage
- Modify the deployment.yml with the storage config
-
Deploy the manifest
-
Create a service
-
Create a Ingress with Ingress Controller (Traefik or Nginx)
-
Configure DNS Resolution
-
Install SSL Certificates in the Ingress Controller