Unable to connect to AWS Keyspace from a local Kubernetes Pod

0

Hi, I have setup a local Kubernetes cluster and want to connect to AWS Keyspaces through the Kubernetes pod. When I tried to connect to AWS Keyspaces from the baremetal server using cqlsh-expansion the connection went through but if I tried the same from inside the Kubernetes pod the connection times out. What could be the potential problem?

已提問 9 個月前檢視次數 410 次
1 個回答
0

Hello,

There can be any network issue or any permission issue which could be causing issue, you can check the networking configuration for your setup and see how it is connecting to keyspace and see if there any blockage between this connection.

Check if port 9142 is allowed from pod to keyspace and vice versa, check any policies attached to pod and see if it having all the required permissions and not having any blocking permissions as per[1]. If there any endpoints or vpn connection is there check if it allows the required traffic.

You can also check this document Troubleshooting connections in Amazon Keyspaces[2] to see if you find anything useful according to the error you are facing.

References: [1] https://docs.aws.amazon.com/keyspaces/latest/devguide/programmatic.endpoints.html
[2] https://docs.aws.amazon.com/keyspaces/latest/devguide/troubleshooting.connecting.html#troubleshooting.connection.vpce [3] https://docs.aws.amazon.com/keyspaces/latest/devguide/vpc-endpoints-tutorial.permissions.html

AWS
sanju_s
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南