Skip to content

Commit

Permalink
Update High Availability document
Browse files Browse the repository at this point in the history
  Update the diagram
  Add the redis sentinel support

Signed-off-by: stonezdj <[email protected]>
  • Loading branch information
stonezdj committed Sep 26, 2022
1 parent 28c3324 commit acdfae2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/High Availability.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ Configure the followings items in `values.yaml`, you can also set them as parame
Four empty databases should be created manually for `Harbor core`, `Notary server` and `Notary signer` and configure them in the section. Harbor will create tables automatically when starting up.
- **External Redis**
Set the `redis.type` to `external` and fill the information in `redis.external` section.

As the Redis client used by Harbor's upstream projects doesn't support `Sentinel`, Harbor can only work with a single entry point Redis. You can refer to this [guide](https://community.pivotal.io/s/article/How-to-setup-HAProxy-and-Redis-Sentinel-for-automatic-failover-between-Redis-Master-and-Slave-servers) to setup a HAProxy before the Redis to expose a single entry point.
Redis sentinel is supported after v1.9.0, configure the `redis.external.sentinelMasterSet` and `redis.external.addr` to enable it.
- **Storage**
By default, a default `StorageClass` is needed in the K8S cluster to provision volumes to store images, charts and job logs.

Expand Down
Binary file modified docs/img/ha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit acdfae2

Please sign in to comment.