prole/tmp/prole-synology-path-bootstrap.yaml
chrisfu 15890187a3 Stabilize CNPG reset/update flow and finalize 3-node recovery
- add idempotent CNPG operator reconciliation to prevent duplicate active controller ReplicaSets
- restore and validate CNPG 3-instance convergence with PV claimRef recovery and storage path readiness
- wire canonical launcher aliases/reset behavior and improve namespace cleanup semantics
- harden backup/objectstore readiness handling and retry behavior
- enforce service namespace usage for common services and remove default-namespace drift
- enable Kerberos milestone auto-activation when realm/kdc are configured and apply CNPG GSS pg_hba rules
- keep final runtime healthy: knoe-db 3/3, operator stable, perfsnap captured

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-27 21:54:53 -07:00

88 lines
2.3 KiB
YAML

apiVersion: v1
kind: Pod
metadata:
name: prole-synology-path-bootstrap
namespace: kube-system
spec:
restartPolicy: Never
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: Exists
effect: NoSchedule
- key: "node-role.kubernetes.io/master"
operator: Exists
effect: NoSchedule
containers:
- name: init
image: busybox:1.36
command:
- sh
- -c
- |
mkdir -p /m/d001-data /m/d001-wal /m/d001-garage /m/d001-openbao \
/m/d002-data /m/d002-wal /m/d002-prom \
/m/d003-data /m/d003-wal /m/d003-grafana
echo "synology-path-bootstrap-complete"
sleep 5
volumeMounts:
- name: d001-data
mountPath: /m/d001-data
- name: d001-wal
mountPath: /m/d001-wal
- name: d001-garage
mountPath: /m/d001-garage
- name: d001-openbao
mountPath: /m/d001-openbao
- name: d002-data
mountPath: /m/d002-data
- name: d002-wal
mountPath: /m/d002-wal
- name: d002-prom
mountPath: /m/d002-prom
- name: d003-data
mountPath: /m/d003-data
- name: d003-wal
mountPath: /m/d003-wal
- name: d003-grafana
mountPath: /m/d003-grafana
volumes:
- name: d001-data
hostPath:
path: /synology/d001/data
type: DirectoryOrCreate
- name: d001-wal
hostPath:
path: /synology/d001/wal
type: DirectoryOrCreate
- name: d001-garage
hostPath:
path: /synology/d001/garage
type: DirectoryOrCreate
- name: d001-openbao
hostPath:
path: /synology/d001/openbao
type: DirectoryOrCreate
- name: d002-data
hostPath:
path: /synology/d002/data
type: DirectoryOrCreate
- name: d002-wal
hostPath:
path: /synology/d002/wal
type: DirectoryOrCreate
- name: d002-prom
hostPath:
path: /synology/d002/prometheus
type: DirectoryOrCreate
- name: d003-data
hostPath:
path: /synology/d003/data
type: DirectoryOrCreate
- name: d003-wal
hostPath:
path: /synology/d003/wal
type: DirectoryOrCreate
- name: d003-grafana
hostPath:
path: /synology/d003/grafana
type: DirectoryOrCreate