From 5623a272c512fc5afe5fec393c339f98ead77fc6 Mon Sep 17 00:00:00 2001 From: Andrew Stoltz Date: Wed, 22 Apr 2026 22:39:31 -0500 Subject: [PATCH] zabbix: include statefulset defaults --- apps/zabbix/zabbix.yaml | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/apps/zabbix/zabbix.yaml b/apps/zabbix/zabbix.yaml index 4bb6853..f92e191 100644 --- a/apps/zabbix/zabbix.yaml +++ b/apps/zabbix/zabbix.yaml @@ -18,12 +18,17 @@ metadata: namespace: zabbix labels: app: zabbix-postgres -spec: - serviceName: zabbix-postgres - replicas: 1 - selector: - matchLabels: - app: zabbix-postgres +spec: + persistentVolumeClaimRetentionPolicy: + whenDeleted: Retain + whenScaled: Retain + podManagementPolicy: OrderedReady + serviceName: zabbix-postgres + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app: zabbix-postgres template: metadata: labels: @@ -100,12 +105,16 @@ spec: spec: accessModes: [ReadWriteOnce] volumeMode: Filesystem - resources: - requests: - storage: 10Gi ---- -apiVersion: v1 -kind: Service + resources: + requests: + storage: 10Gi + updateStrategy: + rollingUpdate: + partition: 0 + type: RollingUpdate +--- +apiVersion: v1 +kind: Service metadata: name: zabbix-postgres namespace: zabbix