Access to private EKS API service by AWS Private Link

0

Hi folks,

I try to connect to EKS private cluster API from EC2 (by kubectl command) by AWS Private Link

What I have:

  1. VPC network with EC2.
  2. different VPC network with EKS private cluster.

My goal:

Run kubectl command to the EKS Api server (e.g. kubectl get pods -A) from the EC2 VPC by VPC endpoint connection

Any Ideas? suggestion?

Thanks, in advance.

TomrH
已提問 10 個月前檢視次數 383 次
1 個回答
0

Hi TomrH,

Have you reviewed the documentation around setting this up? Let me know if you have any questions around this but simple answer is yes you can do this through PrivateLink, you will need to ensure you have proper permissions and certificates to hit the APIs.

https://docs.aws.amazon.com/eks/latest/userguide/vpc-interface-endpoints.html

AWS
已回答 9 個月前

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

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

回答問題指南