Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Service access as LoadBalancer for cluster #1048

Open
sujitkagarwal opened this issue Aug 22, 2024 · 1 comment
Open

External Service access as LoadBalancer for cluster #1048

sujitkagarwal opened this issue Aug 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sujitkagarwal
Copy link

What version of redis operator are you using?
v0.18.0

kubectl logs <_redis-operator_pod_name> -n <namespace>

LM0005409:~ sujit.agarwal$ redis-cli -h 10.157.237.119 -p 30830
10.157.237.119:30830> set 30 60
(error) MOVED 9877 10.244.32.251:6379
10.157.237.119:30830> exit
LM0005409:~ sujit.agarwal$ redis-cli -h 10.157.237.119 -p 30830 -c
10.157.237.119:30830> set 30 60
-> Redirected to slot [9877] located at 10.244.32.251:6379
Could not connect to Redis at 10.244.32.251:6379: Connection refused
Could not connect to Redis at 10.244.32.251:6379: Connection refused
(2.14s)
not connected>

redis-operator version:

v0.18.0
Does this issue reproduce with the latest release?
yes

What operating system and processor architecture are you using (kubectl version)?

kubectl version Output
$ kubectl version

What did you do?

What did you expect to see?

It should allow to connect the redis cluster with external service when deploy in cluster mode outside of kuberntes. I think afetr connect it pass pod id which is not accessible outside of kubernets.

What did you see instead?

@sujitkagarwal sujitkagarwal added the bug Something isn't working label Aug 22, 2024
@woodliu
Copy link

woodliu commented Sep 9, 2024

@sujitkagarwal I think this may caused by the networkpolicy or the CNI you used. Can you access 10.244.32.251:6379 inside your pod?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants