Skip to content

Instantly share code, notes, and snippets.

@samof76
Last active March 9, 2020 11:18
Show Gist options
  • Save samof76/d19029a9076fc915a2e8815851a23192 to your computer and use it in GitHub Desktop.
Save samof76/d19029a9076fc915a2e8815851a23192 to your computer and use it in GitHub Desktop.
GitOps Deployment structure
deployments
├── base # base from where everything is inherited
│ └── shell
│ ├── bg
│ │ ├── bg-sidekiq.yaml
│ │ └── bg-utility.yaml
│ ├── fg
│ │ ├── app-api-public.yaml
│ │ ├── app-email.yaml
│ │ └── app.yaml
│ ├── helpkit-common-env.yaml
│ ├── http-proxy.yaml
│ ├── kustomization.yaml
│ ├── layer.yaml.tmpl # template gets populated with values
│ ├── ruby-with-env-extra.yaml
│ └── telegraf.conf
.
.
.
├── production # environment specific
│ ├── ap-south-1 # region specific
. .
. .
. .
│ └── us-east-1
│ ├── base
│ │ ├── helpkit-common-env.yaml
│ │ └── kustomization.yaml
│ ├── common
│ │ ├── kustomization.yaml
│ │ ├── legacy-monitoring
│ │ │ ├── kustomization.yaml
│ │ │ └── nrpe-server-env.yaml
│ │ ├── logging
│ │ │ ├── haystack-shipper-env.yaml
│ │ │ └── kustomization.yaml
│ │ ├── monitoring
│ │ │ ├── add-redis-labs-conf.yaml
│ │ │ ├── kustomization.yaml
│ │ │ ├── metrics-shipper-env.yaml
│ │ │ └── redis-labs.conf
│ │ └── namespaces
│ │ ├── helpkit.yaml
│ │ └── kustomization.yaml
│ ├── fd-poduseast1-main
│ │ ├── base
│ │ │ ├── app-override-settings.ejson
│ │ │ ├── app-override-settings.json
│ │ │ └── kustomization.yaml
│ │ ├── blue
│ │ │ ├── freshworks-scheduler-annotation.yaml
│ │ │ ├── kustomization.yaml
│ │ │ └── replicas.yaml
│ │ └── green
│ │ ├── freshworks-scheduler-annotation.yaml
│ │ ├── kustomization.yaml
│ │ └── replicas.yaml
. .
. .
. .
│ └── main-base
│ ├── cpu-request-base.yaml
│ ├── kustomization.yaml
│ └── memory-request-increase-fc-app.yaml
.
.
.
├── dev
│ ├── squad1
│ │ ├── app-override-settings.ejson
│ │ ├── app-override-settings.json
│ │ ├── helpkit-common-env.yaml
│ │ └── kustomization.yaml
│ ├── squad2
│ │ ├── app-override-settings.ejson
│ │ ├── app-override-settings.json
│ │ ├── helpkit-common-env.yaml
│ │ └── kustomization.yaml
. .
. .
. .
│ ├── base
│ │ ├── asset-sync-job.yaml
│ │ ├── cpu-request-reduction.yaml
│ │ ├── delete-sumologic.yaml
│ │ ├── disk-request-reduction.yaml
│ │ ├── helpkit-common-env.yaml
│ │ ├── kustomization.yaml
│ │ ├── rootfs-writable.yaml
│ │ └── ruby-with-env-extra.yaml
│ └── common
│ ├── kustomization.yaml
│ ├── monitoring
│ │ ├── kustomization.yaml
│ │ └── metrics-shipper-env.yaml
│ └── namespaces
│ ├── squad1.yaml
│ └── squad2.yaml
.
.
.
├── staging
│ ├── base
│ │ ├── app-override-settings-clone-stack.json
│ │ ├── app-override-settings.ejson
│ │ ├── app-override-settings.json
│ │ ├── cpu-request-reduction.yaml
│ │ ├── delete-sumologic.yaml
│ │ ├── freshworks-scheduler.yaml
│ │ ├── helpkit-common-env.yaml
│ │ ├── kustomization.yaml
│ │ ├── memory-limit-increase-rakes.yaml
│ │ └── memory-request-reduction.yaml
. .
. .
. .
│ └── stagingvpc-shell-main
│ ├── base
│ │ └── kustomization.yaml
│ ├── blue
│ │ ├── freshworks-scheduler-annotation.yaml
│ │ ├── kustomization.yaml
│ │ └── replicas.yaml
│ └── green
│ ├── freshworks-scheduler-annotation.yaml
│ ├── kustomization.yaml
│ └── replicas.yaml
.
.
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment