https://github.com/code-dot-org/k8s-gitops
Repo for storing gitops manifests relevant to ArgoCD managing our k8s clusters
https://github.com/code-dot-org/k8s-gitops
Last synced: 4 days ago
JSON representation
Repo for storing gitops manifests relevant to ArgoCD managing our k8s clusters
- Host: GitHub
- URL: https://github.com/code-dot-org/k8s-gitops
- Owner: code-dot-org
- Created: 2026-03-17T07:58:18.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-04-20T10:45:12.000Z (10 days ago)
- Last Synced: 2026-04-20T11:34:34.307Z (10 days ago)
- Language: Ruby
- Size: 1.22 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# gitops repo for codeai-k8s
To change something in ArgoCD for codeai-k8s, edit this repo
and merge to `main`.
Time for ArgoCD to notice changes to either repo:
- **avg 2m 30s**, max 5 minutes
Time for ArgoCD to deploy depends on what it has to restart
to make the change.
TODO: time codeai deployments, including restart
## Directory Structure
```text
k8s-gitops/
apps/
app-of-apps/
applicationset.yaml # points argocd at apps/*/application.yaml and applicationset.yaml
$app_name/
application.yaml # top-level Argo application discovered by app-of-apps
applicationset.yaml # or a top-level Argo applicationset wrapped by app-of-apps
infra/ # infrastructure / cluster apps live here
argocd/ # e.g. argocd itself is defined right here
application.yaml
chart/
templates/
repos.yaml # Argo repository Secret objects now live here
...
codeai/
applicationset.yaml # define argocd apps for codeai deployments: deployments/*/deployment.yaml
deployments/
levelbuilder/ # codeai deployment levelbuilder
deployment.yaml # envType=levelbuilder, branch=levelbuilder
values.yaml # values.yaml for this deployment: dashboard_workers=27, RAILS_ENV=levelbuilder, etc
...
envTypes/
levelbuilder.values.yaml # base values.yaml for all envType=levelbuilder
...
kargo/
application.yaml # argocd app for kargo itself
values.yaml # helm values for kargo install
projects/
codeai/
application.yaml # child argocd app for the codeai kargo project
namespace.yaml # namespace for namespaced kargo project resources
project.yaml # kargo project for codeai
project-config.yaml # kargo projectconfig for codeai
warehouse.yaml # kargo warehouse for codeai
stages/
levelbuilder.yaml # kargo stage for codeai deployment levelbuilder
...
bootstrap/ # tofu modules to bootstrap a codeai-k8s eks cluster
```
## Bootstrap Cluster
If you have an existing ArgoCD instance: `kubectl apply -f apps/app-of-apps/bootstrap.yaml`
For creating from scratch, creating an EKS cluster, bootstrapping argocd etc,
see: [./bootstrap/codeai-k8s/README.md](./bootstrap/codeai-k8s/README.md).