feat(HA): Bump pod counts to 2
This commit is contained in:
parent
fb9b1a7697
commit
a5f0027058
@ -3,8 +3,9 @@ kind: Cluster
|
||||
metadata:
|
||||
name: vaultwarden-db
|
||||
namespace: vaultwarden
|
||||
|
||||
spec:
|
||||
instances: 1
|
||||
instances: 2
|
||||
|
||||
storage:
|
||||
size: 1Gi
|
||||
@ -28,3 +29,24 @@ spec:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 500Mi
|
||||
|
||||
backup:
|
||||
barmanObjectStore:
|
||||
destinationPath: s3://cluster-example-full-backup
|
||||
endpointURL: http://10.10.0.32:9000
|
||||
s3Credentials:
|
||||
accessKeyId:
|
||||
name: backup-creds
|
||||
key: ACCESS_KEY_ID
|
||||
secretAccessKey:
|
||||
name: backup-creds
|
||||
key: ACCESS_SECRET_KEY
|
||||
region:
|
||||
name: backup-creds
|
||||
key: REGION
|
||||
wal:
|
||||
compression: gzip
|
||||
data:
|
||||
compression: gzip
|
||||
jobs: 2
|
||||
retentionPolicy: "30d"
|
||||
|
@ -4,7 +4,7 @@ metadata:
|
||||
name: vaultwarden
|
||||
namespace: vaultwarden
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: vaultwarden
|
||||
|
@ -7,4 +7,5 @@ resources:
|
||||
- database.yaml
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
- pvc.yaml
|
||||
- deployment.yaml
|
||||
|
12
manifests/pvc.yaml
Normal file
12
manifests/pvc.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: vaultwarden-pvc
|
||||
namespace: vaultwarden
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: redundant-storage-class
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
Loading…
Reference in New Issue
Block a user