Skip to main content

How to add a new service to the K8s deployment

All services can be deployed by copy-pasting the following things in the respective file in the infrastructure-k8s repo and then replacing $PREVIOUS_SERVICE with $NEW_SERVICE and $previous_service with $new_service respectively. Files containing the same thing for multiple services are expected to be alphabetically sorted. When you add a new service, you need to copy and adapt the following things:

  1. the deployment in misarch-$new_service.tf
  2. a version variable in variables-versions.tf
  3. a ConfigMap in configmaps.tf
  4. an entry in latest-deployments.tfvars
  5. a DB in dbs.tf if necessary
  6. a password and output in passwords.tf if necessary
  7. service specific annotations in variables-annotations
  8. service specific labels in variables-labels
  9. service specific URLs in variables-urls