An AEvolution-only Prometheus 3.13.3 and Alertmanager 0.34.1, pinned by digest and delivered by Argo (ADR-0072), scrape each region's operations Service through static targets (no API access, no RBAC); the region namespaces admit port 9100 from Prometheus only. Sixteen alert rules cover authority, lease, commits, backlog and object capacity and are proven by promtool injection tests in CI with tools copied from the same pinned images. Two new gauges expose object volume free space and the reserve. Alerts route to a null receiver until a destination is chosen; no broker is adopted and the database outbox stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.5 KiB
YAML
36 lines
1.5 KiB
YAML
# M8.2/M8.3 platform project (ADR-0069 amendment). Bootstrap once by hand; Argo CD
|
|
# cannot create its own first project: kubectl apply -f deploy/argocd/platform/
|
|
# Only the three AEvolution namespaces, and only the cluster kinds the platform
|
|
# layer owns. Workload projects (aevolution-dev/-stage/-world0) stay separate.
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: aevolution-platform
|
|
namespace: argocd
|
|
spec:
|
|
description: AEvolution platform layer (namespaces, guardrails, storage, World0 protection)
|
|
sourceRepos:
|
|
- https://git.aeternalisgames.com/dingo/AEvolution.git
|
|
destinations:
|
|
- server: https://kubernetes.default.svc
|
|
namespace: evolution-dev
|
|
- server: https://kubernetes.default.svc
|
|
namespace: evolution-stage
|
|
- server: https://kubernetes.default.svc
|
|
namespace: evolution-world0
|
|
- server: https://kubernetes.default.svc
|
|
namespace: aevolution-monitoring
|
|
clusterResourceWhitelist:
|
|
- {group: "", kind: Namespace}
|
|
- {group: storage.k8s.io, kind: StorageClass}
|
|
- {group: admissionregistration.k8s.io, kind: ValidatingAdmissionPolicy}
|
|
- {group: admissionregistration.k8s.io, kind: ValidatingAdmissionPolicyBinding}
|
|
namespaceResourceWhitelist:
|
|
- {group: "", kind: ResourceQuota}
|
|
- {group: "", kind: LimitRange}
|
|
- {group: "", kind: ServiceAccount}
|
|
- {group: "", kind: PersistentVolumeClaim}
|
|
- {group: networking.k8s.io, kind: NetworkPolicy}
|
|
orphanedResources:
|
|
warn: true
|