OT-CONTAINER-KIT / redis-operator

A golang based redis operator that will make/oversee Redis standalone/cluster/replication/sentinel mode setup on top of the Kubernetes.
https://ot-redis-operator.netlify.app/
Apache License 2.0
816 stars 227 forks source link

Error reconciling redis service #55

Closed jessebye closed 3 years ago

jessebye commented 3 years ago

We are seeing this error frequently when reconciling redis services:

2021-04-20T16:50:57.548516546Z stderr F 2021-04-20T16:50:57.548Z    ERROR   controller_redis    Failed in updating service for redis    {"Request.Namespace": "headline-tadpoles", "Request.Name": "api-redis", "error": "Service \"api-redis\" is invalid: [metadata.resourceVersion: Invalid value: \"\": must be specified for an update, spec.clusterIP: Invalid value: \"\": field is immutable]"}

This seems to cause the rest of the reconcile to fail when it occurs.

Any idea what would be causing this?

iamabhishek-dubey commented 3 years ago

Actually, this is something, we have to fix in Operator logic. It doesn't effect the cluster

iamabhishek-dubey commented 3 years ago

Fixed in this https://github.com/OT-CONTAINER-KIT/redis-operator/commit/f65976e4d5ecc4fb7788ec5745668571b503c8e3