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