Infrastructure
L'architecture de Weebo-SI : le socle, l'app of apps et le rôle de chaque composant
Weebo-SI est un cluster Kubernetes mono-nœud : Talos sur un serveur dédié OVH. Le déploiement se fait en trois couches.
1.pulu-init: Pulumi installe Talos, puis Cilium et Hubble.1.pulu-conf: Pulumi pose le pool d'IP du LoadBalancer Cilium, installe Argo CD et crée l'application racinemain.2.argo:mainrend2.argo/app, l'app of apps. Tout le reste est géré en GitOps.
2.terra contient du Terraform (vault, auth) exécuté dans le cluster par des Jobs PostSync d'Argo CD.
Bootstrap Pulumi
L'app of apps
2.argo/app rend une Application par fichier de 2.argo/app/templates/*.yaml. Chacune s'active dans 2.argo/app/values.yaml (<nom>.enabled). Le chart rend aussi les AppProject, le ConfigMap CoreDNS, les thèmes d'Argo CD et de son Dex, le ClusterRoleBinding weebo-admin-crb et la RuntimeClass youki.
Toutes ces applications sont conditionnelles. Aujourd'hui seule mail est désactivée (mail.enabled: false).
| Application | Rôle | Chart | Projet Argo CD |
|---|---|---|---|
local-storage | local-path-provisioner | 2.argo/helm/local-storage | infra |
ingress | Traefik, cert-manager, trust-manager, pages d'erreur | 2.argo/helm/ingress/main | infra |
auth | authentik, opérateur weebo-authentik, Dex | 2.argo/helm/auth/main | infra |
vault | bank-vaults, OpenBao, External Secrets | 2.argo/helm/vault/main | infra |
main-storage | Longhorn et les CRD de snapshot | 2.argo/helm/storage | infra |
hook | Kyverno et ses policies | 2.argo/helm/hook/main | infra |
vpn | exit node netbird | 2.helm/netbird-exit-node | infra |
kubearmor | KubeArmor | 2.argo/helm/kubearmor/main | security |
monitoring | ClickStack, collecteurs OpenTelemetry, OBI | 2.argo/helm/monitoring | monitoring |
database | opérateurs CloudNativePG, ClickHouse, MongoDB, Valkey et RustFS | 2.argo/helm/database/main | database |
angos | registre OCI | 2.argo/helm/angos | dev-base |
batlehub | registre de packages | 2.argo/helm/batlehub | dev-base |
forgejo | forge git | 2.argo/helm/forgejo | dev-base |
che | Eclipse Che, DevWorkspace, opérateur weebo-si-hardening | 2.argo/helm/che/main | dev |
portal | portail weebo-portail et son opérateur de catalogue | 2.argo/helm/portal | portal |
catalog-teams | namespaces de team du catalogue | 2.argo/helm/catalog-teams | catalog-teams |
mail (désactivée) | Stalwart, messagerie interne | 2.argo/helm/mail | dev-base |
Les charts ingress, auth, vault, hook, database, che et kubearmor suivent le même découpage main / sub : main installe l'opérateur ou le chart amont, sub déclare les objets qui n'existent qu'une fois les CRD posées, dans une application synchronisée après.