bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
9.01k stars 9.22k forks source link

[bitnami/harbor] not compatible with [bitnami/redis-cluster] ? #7549

Closed jmaaks closed 3 years ago

jmaaks commented 3 years ago

I don't see anything in the [bitnami/harbor] Helm chart that mentions this, but it doesn't appear to be compatible with [bitnami/redis-cluster]. When using redis-cluster, core and jobservice pods restart repeatedly, and logs seem to say it can't follow a "moved" status from redis (I'm guessing this is the svc doing redirects to a redis cluster node). Simply re-deploying Harbor using [bitnami/redis] works perfectly.

This Harbor Helm page states:

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 to setup a HAProxy before the Redis to expose a single entry point.

Is this also the case with [bitnami/harbor] ?

rafariossaa commented 3 years ago

Hi, Harbor chart uses bitnami/redis chart as subchart, but not redis-cluster. As you quoted, this is not related to the chart but to harbor implementation that is not aware of redis sentinels.

jmaaks commented 3 years ago

Hi @rafariossaa,

Yes, I could have worded that better. I understand that it's not so much an issue with the chart, but rather with the underlying Harbor incompatibility.

Thanks for the confirmation!

rafariossaa commented 3 years ago

Hi, You are welcome, I am glad to help. I am closing this issue.