Recreate worker-notifications - lost when core namespace got wiped

This StatefulSet was deployed manually outside git at some point before
this repo's GitOps work began, and was destroyed when deleting the core
Kustomization triggered a full namespace recreation (Flux prune-on-delete
cascades regardless of kubectl's --cascade flag - that only affects
Kubernetes' own owner-reference GC, not Flux's finalizer).

Reconstructed from its own logs (NATS_STREAM=NOTIFICATIONS,
NATS_CONSUMER=notifications-worker, FILTER_SUBJECT=api.v1.notifications.push)
plus the same pattern as its sibling workers. Resource limits and
WORKER_CONCURRENCY are a best-guess match to worker-rider-logs, since the
original values were never version-controlled anywhere. Adding it to git
now so this can't happen again.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Suriya
2026-07-20 12:25:55 +05:30
parent 430bd79bed
commit 1b629d8ea3
2 changed files with 123 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ resources:
- core-config.yaml
- worker-script.yaml
- workers.yaml
- worker-notifications.yaml
- worker-pdb.yaml
- ingress-unified.yaml
# traefik-middlewares.yaml intentionally excluded - this cluster's