csye7125-fall2023-group05/webapp

🌵 Create k8s deployment for webapp and migration

sydrawat01 opened this issue · 0 comments

  • k8s deployment which will create a replicaSet with minimum 1 replicas.
  • The replicaSet consists of a container which will run our webapp REST API service and an initContainer which will run our database migration scripts using flyway.
  • The initContainer runs before the webapp (container) is up and running.
  • Use k8s ConfigMaps and Secrets to configure the environment variables for the various containers and initContainer within the replicaSet.