FAQs: Amazon EKS control plane metrics

2 minute read
0

I have some questions about control plane metrics in Amazon Elastic Kubernetes Service (Amazon EKS).

Q: Where can I access the control plane metrics in EKS?

Amazon EKS exposes control plane metrics through the metrics endpoint on the Kubernetes API server.

Run the following command to access this endpoint through the /metrics HTTP API for the Amazon EKS control plane:

kubectl get --raw /metrics

For more information, see Metrics for Amazon EKS and Kubernetes.

Q: Can I access all the Kubernetes control plane metrics?

No. Amazon EKS control plane doesn't expose certain metrics from kube-controller-manager, kube-scheduler, and etcd.

Q: Can I use Amazon CloudWatch Container Insights to collect control plane metrics?

Yes. Container Insights with enhanced observability for Amazon EKS collects detailed health, performance, and status metrics. Container Insights collects these metrics at the container level along with control plane metrics. For more information, see Amazon EKS and Kubernetes Container Insights metrics.

Q: Does Amazon EKS send an alert for control plane failures?

No. Amazon EKS doesn't currently have a built-in feature to send notifications when a control plane fails. However, Amazon EKS regularly backs up all managed clusters and uses recovery mechanisms when necessary.

Q: How do I create alerts based on Amazon EKS control plane metrics?

Create an alert manager configuration in Amazon Managed Service for Prometheus to manage alerting rules. Then, configure Amazon Simple Notification Service (Amazon SNS) as a receiver for your alerts.

AWS OFFICIAL
AWS OFFICIALUpdated 4 months ago