如何获取端点并查看 etcd eks 集群中的数据

How to get end point and see the data in etcd eks cluster

'' 如何访问 etcd 以查看,我需要获取 etcd 的端点以配置 calico cni。请帮我解决这个问题 issue.Thanks。 ''

您可以使用此命令查找服务:

kubectl get svc

你会找到etcd的外部IP地址端口,比如你会发现:

并且可以像这样调用端点curl http://35.204.136.231:2379/version

抱歉,无法访问 EKS 集群上的 etcd,AWS 不允许这样做,因为控制平面管理由他们完成:

Managed control plane: Amazon EKS provides a scalable and highly-available Kubernetes control plane that runs across multiple AWS availability zones. Amazon EKS automatically manages the availability and scalability of the Kubernetes API servers and etcd persistence layer for each cluster. Amazon EKS runs the Kubernetes control plane across three Availability Zones in order to ensure high availability, and it automatically detects and replaces unhealthy control plane nodes.