NOAA-GSL / MATS

MATS is a quick & interactive way to view verification statistics
https://gsl.noaa.gov/mats/
6 stars 0 forks source link

Deploy a second copy of cb-metar #1161

Closed ian-noaa closed 9 months ago

ian-noaa commented 9 months ago

This PR renames the cb-ceiling to cb-metar in order to match the updated app name. It then creates a copy of cb-metar in cb-metar-capella so that we can have two apps pointed to different couchbase clusters.

The app configuration contains secrets so is handled outside of the repo.

ian-noaa commented 9 months ago

@gopa-noaa - if you wanted to get more into Kubernetes, this could be a good PR to start with. I've updated the PR description with what this change does. You can reference the README.md file for an overview of how these Kubernetes manifests work.

The main thing to keep in mind is that this deployment is using Kustomize and a Kustomize layout - so resources are defined in the base directory and then modified for each environment in the overlays directory.

On the Kubernetes side, the important primitives to know about are deployments, services, and ingresses. Deployments describe the container being deployed, services create internal DNS names for the deployments so they can communicate, and ingresses expose internal services outside the cluster.

Definitely let me know if you have any questions on how this works.

gopa-noaa commented 9 months ago

@ian-noaa thanks, this is really useful. Approving it.