resource-control/data/resources/apps-pg.json
tegwick f8d1c542d5 feat: operational resource procurement facility
Implement RESOURCE-WP-0005: entity register, V0.1 terms parameters,
entity association on inventory and planning records, transfer-price
and credit-state arithmetic, monthly settlement, and entity views on
the portfolio report. Live close emits nothing until delivered cost
is known. Handoffs are FIN-WP-0006 and RAILIANCE-WP-0017.
2026-08-14 13:15:02 +02:00

171 lines
4.6 KiB
JSON

{
"schema_version": "0.2",
"record_scope": "inventory",
"id": "resource:railiance:apps-pg",
"financial_entity_id": null,
"procuring_entity_id": "entity:railiance",
"entity_gap": "shared allocation; coulomb-social maps to entity:coulomb; vergabe-teilnahme has no financial entity",
"resource_class": "database",
"status": "active",
"management_model": "self_managed",
"provider": {
"name": "Railiance",
"account_ref": null,
"product_ref": "cloudnative-pg",
"provider_resource_id": "kubernetes:databases/cluster/apps-pg"
},
"service": {
"name": "Shared applications PostgreSQL",
"service_id": "apps-pg",
"class": "CloudNativePG database service",
"capacity_model": "shared"
},
"location": {
"region": null,
"country": null,
"failure_domains": [
"cluster:reef-railiance",
"host:railiance01",
"storage:local-path"
],
"residency": null
},
"capacity": [
{
"metric": "instances",
"value": 1,
"unit": "count",
"kind": "provisioned",
"observed_at": "2026-08-14"
},
{
"metric": "instances",
"value": 1,
"unit": "count",
"kind": "observed",
"observed_at": "2026-08-14"
},
{
"metric": "storage",
"value": 10,
"unit": "GiB",
"kind": "provisioned",
"observed_at": "2026-08-14"
},
{
"metric": "storage_used",
"value": 0.5766,
"unit": "GiB",
"kind": "observed",
"observed_at": "2026-08-14"
},
{
"metric": "wal_since_init",
"value": 0.5469,
"unit": "GiB",
"kind": "observed",
"observed_at": "2026-08-14"
},
{
"metric": "cpu_usage",
"value": 0.009,
"unit": "vCPU",
"kind": "observed",
"observed_at": "2026-08-14"
},
{
"metric": "memory_usage",
"value": 0.0996,
"unit": "GiB",
"kind": "observed",
"observed_at": "2026-08-14"
},
{
"metric": "max_connections",
"value": 100,
"unit": "count",
"kind": "limit",
"observed_at": "2026-08-14"
},
{
"metric": "sessions",
"value": 7,
"unit": "count",
"kind": "observed",
"observed_at": "2026-08-14"
}
],
"ownership": {
"owner": "railiance-platform",
"environment": "production",
"workload_ids": [
"coulomb-social",
"vergabe-teilnahme"
],
"tenant_id": null,
"allocation": {
"mode": "shared",
"cost_attribution_key": "platform:apps-pg",
"driver": "database_gb",
"method_version": "apps-pg-dbbytes-v1",
"entity_shares": [
{
"financial_entity_id": "entity:coulomb",
"note": "coulomb-social database_gb share 0.5386 under apps-pg-dbbytes-v1"
}
]
}
},
"cost": {
"currency": "EUR",
"tax_status": "not_applicable",
"billing_model": "shared cluster and operations cost allocated by declared-consumer database bytes (apps-pg-dbbytes-v1: coulomb-social 0.5386, vergabe-teilnahme 0.4614); the 94.8 percent WAL and catalog residual is attributed to platform:apps-pg-overhead and no booked cost exists yet",
"commitment_ref": null,
"price_evidence": null
},
"lifecycle": {
"proposed_on": null,
"ordered_on": null,
"commissioned_on": "2026-08-09",
"renews_on": null,
"cancel_by": null,
"retired_on": null,
"exit_path": "Restore databases to a replacement PostgreSQL service, rotate application connections, verify consumers, then retire the cluster and volume."
},
"relationships": [
{
"type": "hosted_on",
"resource_id": "resource:railiance:reef-railiance:k3s"
}
],
"requirements": [
{
"kind": "recovery",
"ref": "/home/worsch/railiance-platform/docs/evidence/RAILIANCE-WP-0016-apps-pg-resource-evidence.md#t02--recovery-and-operations"
},
{
"kind": "other",
"ref": "/home/worsch/railiance-platform/docs/apps-pg.md"
}
],
"evidence": [
{
"kind": "telemetry",
"ref": "/home/worsch/railiance-platform/docs/evidence/RAILIANCE-WP-0016-apps-pg-observation.json",
"observed_at": "2026-08-14",
"authority": "railiance-platform (reef-railiance Kubernetes API + postgres catalog)"
},
{
"kind": "workload",
"ref": "/home/worsch/railiance-platform/docs/evidence/RAILIANCE-WP-0016-apps-pg-resource-evidence.md",
"observed_at": "2026-08-14",
"authority": "railiance-platform, RAILIANCE-WP-0016"
},
{
"kind": "workload",
"ref": "/home/worsch/railiance-platform/helm/apps-pg-cluster.yaml",
"observed_at": "2026-08-11",
"authority": "railiance-platform"
}
]
}