zabbix: include statefulset defaults

This commit is contained in:
Andrew Stoltz
2026-04-22 22:39:31 -05:00
parent 3d3f91160b
commit 5623a272c5

View File

@@ -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