-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Milestone
Description
The AWS CNI plugin allows automatically exporting the following metrics to CloudWatch:
- The number of errors encountered in ipamd
- The number of ipamd actions inprogress
- The maximum number of ENIs that can be attached to the instance
- The maximum number of IP addresses that can be allocated to the instance
- The number of times ipamD reconciles on ENIs and IP addresses
- The number of add IP address request
- The number of delete IP address request
- The number of ENIs allocated
- The total number of IP addresses
- The number of IP addresses assigned to pods
- AWS API call latency in ms
- The number of times AWS API returns an error
- The number of errors not handled in awsutils library
These are super useful for EKS cluster administrators, and correct use of dashboards/alarms can save pain.
In order for this to work, the following needs to be added to eksctl:
- The worker nodes should have
cloudwatch:PutMetricData
permissions added. - The following K8s manifest should be deployed: [cni_metrics_helper.yaml].(https://github.com/aws/amazon-vpc-cni-k8s/blob/master/misc/cni_metrics_helper.yaml).
- And finally, for best experience it would be great to automatically create a CloudWatch Dashboard for each EKS cluster.
mogren