16 lines
601 B
YAML
16 lines
601 B
YAML
# tidalDB CLUSTER namespace (m11p5 §4).
|
|
#
|
|
# MUTUALLY EXCLUSIVE with the standalone set in k8s/: the standalone manifests
|
|
# live in namespace `tidaldb`, this cluster set lives in `tidaldb-cluster`. Pick
|
|
# ONE per namespace — they share resource names (StatefulSet `tidaldb`, Service
|
|
# `tidaldb`) and the standalone set's `replicas: 1` is load-bearing (no
|
|
# shared-storage multi-writer mode). Never `kubectl apply -k` both into the same
|
|
# namespace.
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: tidaldb-cluster
|
|
labels:
|
|
app.kubernetes.io/name: tidaldb
|
|
app.kubernetes.io/part-of: tidaldb
|