Files
argocd-apps/apps/base/coroot/pdb.yaml
T
unkin-agent c090015686 Deploy coroot behind oauth2-proxy (#605)
Coroot gives eBPF-based service maps, tracing and RCA for the cluster; the community edition has no OIDC, so it sits behind oauth2-proxy.

- add coroot-operator chart 0.10.8 in coroot-system (platform)
- add a Coroot CR: 2 replicas on CNPG, ClickHouse 2 + keeper 3, metrics via vmcluster/main, pinned images
- agents send keyless; Coroot binds an empty key to its single default project
- front coroot.unkin.net with oauth2-proxy (Authentik, akP-coroot-admin); Coroot grants Admin to anonymous
- restrict Coroot ingress to oauth2-proxy and the agents; PDBs, anti-affinity, DNS, wildcard cert, schema

Requires IUCLabs/terraform-artifactapi#7 and IUCLabs/terraform-authentik#7.

Reviewed-on: #605
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-11-27 07:55:38 +11:00

59 lines
1.1 KiB
YAML

---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: coroot
namespace: coroot
spec:
maxUnavailable: 1
selector:
matchLabels:
app.kubernetes.io/part-of: coroot
app.kubernetes.io/component: coroot
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: coroot-clickhouse
namespace: coroot
spec:
maxUnavailable: 1
selector:
matchLabels:
app.kubernetes.io/part-of: coroot
app.kubernetes.io/component: clickhouse
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: coroot-clickhouse-keeper
namespace: coroot
spec:
maxUnavailable: 1
selector:
matchLabels:
app.kubernetes.io/part-of: coroot
app.kubernetes.io/component: clickhouse-keeper
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: coroot-oauth2
namespace: coroot
spec:
minAvailable: 1
selector:
matchLabels:
app: coroot-oauth2
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: postgres-pooler-rw
namespace: coroot
spec:
minAvailable: 1
selector:
matchLabels:
cnpg.io/poolerName: postgres-pooler-rw