OT-CONTAINER-KIT / helm-charts

A repository which that will contain helm charts with best and security practices.
https://ot-container-kit.github.io/helm-charts
49 stars 84 forks source link

Unable to connect to Redis External Load Balancer Service #44

Closed Sj1218305 closed 1 year ago

Sj1218305 commented 2 years ago

I have created an EKS cluster with the Managed Node Groups.

Recently, I have deployed Redis as an external Load Balancer service. I am trying to to set up an authenticated connection to it via NodeJS and Python microservices but I am getting Connection timeout error. However, I am able to enter into the deployed redis container and execute the redis commands. Also, I was able to do the same when I deployed Redis on GKE.

Have I missed some network configurations to allow traffic from external resources? The subnets which the EKS node is using are all public. Also, while creating the Amazon EKS node role, I have attached 3 policies to this role as suggested in the doc -

It was also mentioned that - We recommend assigning the policy to the role associated to the Kubernetes service account instead of assigning it to this role. Will attaching this to the Kubernetes service account, solve my problem ? Also, here is the guide that I used for deploying redis - https://ot-container-kit.github.io/redis-operator/guide/setup.html#redis-standalone

iamabhishek-dubey commented 1 year ago

This is more of a EKS related issue that requires k8s level of troubleshooting.