Prerequisites

  1. Clone the repository

    https://github.com/SujithThirumalaisamy/remote-execution-engine

  2. Build and publish all the images

    docker build -t <repo>/exec-<service>:latest -f .\\apps\\<service>\\Dockerfile .
    
  3. Push the images to the DockerHub

    docker push <repo>/exec-<service>:latest
    
  4. Provision the following Resources

    1. Create a EKS cluster and Configure kubectl
    2. Create a Cloud NFS storage ( 500Mi more than enough)
      1. Or Any other Persistent Volume Options will work
      2. persistent-volume and persistent-volume-claim manifests sould be confired as per the changes
      3. Only for SSL Certs and Config Maps and Secrets
    3. Create a PostgresSQL DB
    4. Create a Redis DB (Can also use a stateful set) Because redis shoud be quickly accessible.
      1. If planning to use redis inside the kube. Need to create a Stateful manifest
  5. Use the *.yml manifests from the /packages/ops folder for the following

    1. Create Persistent Volume
    2. Create Persistent Volume Claim (Dilemma)
    3. Create ConfigMap (Configure it before creating)
    4. Add Kube config to Persistent Storage
    5. Modify the deployment.yml with the storage config
  6. Deploy the manifest

  7. Create a service

  8. Create a Ingress with Ingress Controller (Traefik or Nginx)

  9. Configure DNS Resolution

  10. Install SSL Certificates in the Ingress Controller

daily-code.drawio (1).svg