|
|
@ -6,8 +6,8 @@ Redis operator runs Sentinel and Redis, makes Redis high available with HAProxy. |
|
|
|
|
|
|
|
- You definitly need a Golang installed |
|
|
|
- Clone repository https://git.blindage.org/21h/redis-operator to your computer |
|
|
|
- Open `Makefile` and change images registry to yours |
|
|
|
- Run `make` command |
|
|
|
- Code |
|
|
|
- Create pull-request |
|
|
|
|
|
|
|
## Prebuilt images |
|
|
|
|
|
|
@ -67,8 +67,14 @@ spec: |
|
|
|
persistentVolumeSize: 1Gi |
|
|
|
persistentVolumeClass: "gluster" |
|
|
|
persistentVolumePurge: true |
|
|
|
pdbRedis: |
|
|
|
maxUnavailable: 1 |
|
|
|
pdbSentinel: |
|
|
|
minAvailable: 2 |
|
|
|
``` |
|
|
|
|
|
|
|
Note that `pdbSentinel.minAvailable` must be greater than `sentinelReplicas / 2` or reconcile fail. This made to save quorum. |
|
|
|
|
|
|
|
Open file `pkg/apis/blindage/v1alpha1/redis_types.go` to know more about options. |
|
|
|
|
|
|
|
--- |
|
|
|