MetaCPAN application manifests are contained in the apps
directory. Each
application has its own subdirectory, within each application directory is a
base/
directory to contain the application manifests. Each environment that
the application is deployed to is contained in a separate directory at the same
level as the base/
directory. For example:
apps/web
├── base
├── environments
│ ├── prod
│ └── stage
└── hz
base/
the MetaCPAN web application manifestsenvironments
directories for each of the environments an application can exist inprod/
kustomization manifests to apply to web manifests for theproduction
environmentstage/
kustomization manifests to apply to web manifests for thestage
environment
hz/
kustomization and manifests to apply to thehz
cluster. This includes manifests like sealedsecrets that are specific to the cluster to which they're created. The kustomization file references theenvironments
directories deployed to the cluster.
kustomization manifests are patch manifests that alter the base/
manifests for
components like URLs, secrets (passwords), and configuration.
Database applications are shared amongst all applications within the cluster. Subdirectories within the db directory contain the manifests for these applcations. The directory structure reflects the namespaces used for the applications. For example, db/mongodb is namespace db--mongodb.
Directory containing the kubernetes environment documentation (like this document).
This directory contains the manifests (deployment and kustomization) for running the kubernetes environment.