@@ -38,16 +38,10 @@ Platform charts are pulled from the GHCR OCI registry (`ghcr.io/agynio/charts`).
3838
3939### NATS JetStream event bus
4040
41- NATS JetStream is required by the Groups service and disabled by default so
42- existing local stacks keep their previous footprint. Enable it together with
43- Groups using platform stack variables:
44-
45- ``` bash
46- terraform -chdir=stacks/platform apply -var=' groups_enabled=true' -var=' nats_enabled=true'
47- ```
48-
49- When enabled, Terraform creates an Argo CD application named ` nats ` in the
50- platform namespace using the upstream NATS Helm chart. The application enables
41+ NATS JetStream is required by the Groups service and is deployed as a core
42+ platform application. Terraform creates an Argo CD application named ` nats ` in
43+ the platform namespace using the upstream NATS Helm chart. The application
44+ enables
5145JetStream file storage with a PVC (` nats_jetstream_file_store_pvc_size ` ,
5246default ` 10Gi ` ) and a matching file store max size
5347(` nats_jetstream_file_store_max_size ` , default ` 10Gi ` ). The stable in-cluster
@@ -70,10 +64,10 @@ stream config changes delete and recreate the Job instead of attempting an
7064immutable Job update. Stream retention knobs follow the NATS API schema: age and
7165duplicate window values are in nanoseconds, and size values are in bytes.
7266
73- The Groups service is disabled by default for backwards compatibility. Set
74- ` groups_enabled=true ` to deploy the ` groups-db ` and ` groups ` Argo CD
75- applications. Terraform enforces ` nats_enabled=true ` for the Groups application
76- because the chart is configured to use the in-cluster NATS endpoint above .
67+ The Groups service is deployed as a core platform application together with its
68+ ` groups-db ` PostgreSQL application. The Groups application depends on ` nats ` ,
69+ ` groups-db ` , ` authorization ` , and ` identity ` so it is created after the event
70+ bus and required platform services .
7771
7872### Graph persistence
7973
@@ -93,7 +87,8 @@ Verify persistence by:
9387| -----------| --------------------| -------------------------------------| -------|
9488| 5 | ` platform-db ` | PostgreSQL for platform workloads | Uses chart ` oci://ghcr.io/agynio/charts/postgres-helm ` with inline Helm values |
9589| 18 | ` k8s-runner ` | Kubernetes workspace runner | Uses cluster-wide RBAC; TCP-only runner mode |
96- | 18 | ` groups ` | Groups service | Optional; set ` groups_enabled=true ` ; depends on ` groups-db ` , ` authorization ` , ` identity ` , and ` nats ` |
90+ | 16 | ` nats ` | NATS JetStream event bus | Required by Groups and private Networks |
91+ | 18 | ` groups ` | Groups service | Depends on ` groups-db ` , ` authorization ` , ` identity ` , and ` nats ` |
9792| 20 | ` platform-server ` | Core platform API | Depends on ` platform-db ` |
9893| 25 | ` platform-ui ` | Platform web UI | Connects to ` platform-server ` |
9994
0 commit comments