autonomys / infra

7 stars 4 forks source link

Declarative deployment #123

Open nazar-pc opened 1 year ago

nazar-pc commented 1 year ago

Currently we deploy things imperatively: running scripts that modify state such that it takes desired shape. This works, but it is problematic because we can't revert changes, can't ensure state is exactly what we expect it to be and use tools designed for infrastructure creation to do so.

What we want instead is declarative deployments:

For this to work we need to pick a tool for declarative deployment, key storage solution and have some templates (ideally with readme) that the rest of the team can work with somewhat autonomously.

### Tasks
- [x] Add ArgoCD manager to kubernetes
- [x] setup argo cd in cluster
- [x] create helm charts for astral and nova
- [x] create kustomize manifests for networks
- [x] update helm charts for squids rewards, account, general
- [x] create argocd path for declarative deployments of resources
DaMandal0rian commented 10 months ago

143 adds argocd manager to kubernetes cluster as an addon with terraform

DaMandal0rian commented 8 months ago

argocd now installed in cluster

Image

DaMandal0rian commented 7 months ago

Added devnet k8s deployments:

DaMandal0rian commented 7 months ago

Added squid deployments for k8s:

DaMandal0rian commented 7 months ago

Next agenda:

DaMandal0rian commented 6 months ago

Latest fix for domain validation and argocd environments. https://github.com/subspace/infra/pull/315/files