fix(overlay/dev): cleanup
This commit is contained in:
parent
aefb346254
commit
96efb578b0
|
@ -0,0 +1,9 @@
|
|||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: nextcloud-postgres
|
||||
spec:
|
||||
instances: 3
|
||||
storage:
|
||||
size: 50Gi
|
||||
storageClass: directpv-min-io
|
|
@ -8,6 +8,28 @@ spec:
|
|||
- "minio"
|
||||
pools:
|
||||
- servers: 2
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: role
|
||||
operator: In
|
||||
values:
|
||||
- storage
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: v1.min.io/tenant
|
||||
operator: In
|
||||
values:
|
||||
- cds
|
||||
- key: v1.min.io/pool
|
||||
operator: In
|
||||
values:
|
||||
- pool-0
|
||||
topologyKey: kubernetes.io/hostname
|
||||
name: pool-0
|
||||
volumesPerServer: 3
|
||||
volumeClaimTemplate:
|
||||
|
@ -19,6 +41,7 @@ spec:
|
|||
resources:
|
||||
requests:
|
||||
storage: 3Gi
|
||||
storageClassName: directpv-min-io
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
|
|
Loading…
Reference in New Issue