feat(HA): Bump pod counts to 2
This commit is contained in:
parent
fb9b1a7697
commit
485f800c6d
@ -3,8 +3,9 @@ kind: Cluster
|
|||||||
metadata:
|
metadata:
|
||||||
name: vaultwarden-db
|
name: vaultwarden-db
|
||||||
namespace: vaultwarden
|
namespace: vaultwarden
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
instances: 1
|
instances: 2
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
@ -28,3 +29,25 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 500Mi
|
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
|
||||||
|
immediateCheckpoint: false
|
||||||
|
jobs: 2
|
||||||
|
retentionPolicy: "30d"
|
||||||
|
@ -4,7 +4,7 @@ metadata:
|
|||||||
name: vaultwarden
|
name: vaultwarden
|
||||||
namespace: vaultwarden
|
namespace: vaultwarden
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: vaultwarden
|
app: vaultwarden
|
||||||
|
@ -7,4 +7,5 @@ resources:
|
|||||||
- database.yaml
|
- database.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
- pvc.yaml
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
|
12
manifests/pvc.yaml
Normal file
12
manifests/pvc.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClain
|
||||||
|
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