You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run a Redis Cluster on a dual-stack Kubernetes cluster.
Actual behaviour
What is happening? Are all the pieces created? Can you access to the service?
The operator fails to communicate with the Pod(s) that have an IPv6 address.
time="2020-07-07T18:54:00Z" level=warning msg="error processing NAMESPACE/redis job (requeued): dial tcp: address fd00::36c:6379: too many colons in address" controller=redisfailover operator=redis-operator src="generic.go:224"
Steps to reproduce the behaviour
Have a Kubernetes cluster using dual-stack, e.g., through Cilium.
Creating a basic Redis cluster from the yaml examples
Environment
How are the pieces configured?
Redis Operator version: v1.0.0
Kubernetes version: v1.18.5
Kubernetes configuration used (eg: Is RBAC active?): RBAC enabled, dual-stack IPv4 + IPv6
Logs
time="2020-07-07T18:54:00Z" level=warning msg="error processing NAMESPACE/redis job (requeued): dial tcp: address fd00::36c:6379: too many colons in address" controller=redisfailover operator=redis-operator src="generic.go:224"
There are no additional lines about the issue when running in debug mode.
I don't have enough knowledge of the code to know where to use it, but utilizing the golang net package's JoinHostPort() func should do the trick for IPv4 and IPv6 Pods.
Expected behaviour
What do you want to achieve?
Run a Redis Cluster on a dual-stack Kubernetes cluster.
Actual behaviour
What is happening? Are all the pieces created? Can you access to the service?
The operator fails to communicate with the Pod(s) that have an IPv6 address.
Steps to reproduce the behaviour
Environment
How are the pieces configured?
v1.0.0
v1.18.5
Logs
There are no additional lines about the issue when running in debug mode.
I don't have enough knowledge of the code to know where to use it, but utilizing the golang
net
package'sJoinHostPort()
func should do the trick for IPv4 and IPv6 Pods.Example:
(https://godoc.org/net#JoinHostPort)
The text was updated successfully, but these errors were encountered: