Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
Update HA documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatomicJC committed Sep 14, 2022
1 parent 518cfc8 commit af777fe
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ dependencies:
version: 7.4.1
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 17.1.4
version: 17.1.5
- name: redis-cluster
repository: https://charts.bitnami.com/bitnami
version: 8.2.2
- name: passbolt-ha-monitor
repository: https://anatomicjc.gitlab.io/helm-charts
version: 0.0.5
digest: sha256:04ce9748a73d8809af2a458f686a002b72585457a91e3c370b8ef780c695ba07
generated: "2022-09-08T17:21:07.772215+02:00"
version: 0.0.6
digest: sha256:a7c45328631ef60e5958b9702afb860b3f7d3c630c3d9fa1e263540ff0d31146
generated: "2022-09-14T16:36:41.289695302+02:00"
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This helm chart installs the [passbolt container](https://github.com/passbolt/pa

## Quick start

### non-HA mode

Clone this repository:

```
Expand Down Expand Up @@ -43,7 +45,17 @@ Review values.yaml file, especially the `ingress.hosts.host` for passbolt domain
helm install passbolt . --values values-fingerprint.yaml
```

If you are interested with HA deployment, you can use the values-ha.yaml parameters:
### HA mode

If you are interested with HA deployment, take care of the `passbolt.config.php.session.redis.service` setting. It is the first pod name by default of the xxx-redis-headless service where xxx is your helm release name (passbolt by default in the below helm command).

If your helm release name is **pblt**, replace **passbolt-redis-node-0.passbolt-redis-headless** with **pblt-redis-node-0.pblt-redis-headless**

While the database is not yet initialized, the replicaCount of passbolt-helm deployment must be set to 1. Once the database initialized, you can scale.

If you want to import your passwords from keepass or csv, it is recommended to scale to 1. Database concurrency is not well managed while importing.

If you are ok with the above point, you can deploy the HA mode with:

```
helm upgrade --install passbolt . --values values-ha.yaml --values values-fingerprint.yaml
Expand Down Expand Up @@ -192,4 +204,4 @@ For more parameters you should have a look at ...
kubectl run mailpit --image=anatomicjc/mailpit
kubectl expose pod mailpit --port 1025 --name mailpit
kubectl port-forward mailpit 8025
```
```
3 changes: 3 additions & 0 deletions values-ha.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# For the database init, replicaCount must be set to 1
# You can scale once the DB initialized
replicaCount: 1
image:
repository: passbolt/passbolt
pullPolicy: IfNotPresent
Expand Down

0 comments on commit af777fe

Please sign in to comment.