-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag CLUSTER_ID on Node EC2 instances to enable cni-metrics-helper #763
Comments
It looks like adding a line here: Would be all that is required, but not sure if that requires v1alpha4 -> v1alpha5 |
I think this is a bug, I was under impression metrics worked already (as of #296). Or is it the case of metrics being written, but not useful enough? |
In #296 eksctl added the
e.g:
The problem is that if you have multiple clusters, they will all mix their metrics into the same |
I must say that Anyhow, from looking at the code, seems like it should just fallback to |
We can add |
That code very recently changed (18 hrs ago!) to fallback to |
Why do you want this feature?
The Troubleshooting Guide documents using an AWS provided tool, the cni-metrics-helper which can show aggregated ENIs and IPs information at the cluster level. These metrics can optionally be pushed to cloudwatch.
However, the tool relies on the EC2 Instance tag
CLUSTER_ID
or defaults toeks-cluster
. This isn't very useful if I have multiple EKS clusters and wish to monitor different clusters for available ENI and IP address capacity.While I can specify ec2 tags in node groups, I would like eksctl to tag ec2 instances with
CLUSTER_ID
as it does for theeksctl.cluster.k8s.io/v1alpha1/cluster-name
tagRef aws/amazon-vpc-cni-k8s#313
The text was updated successfully, but these errors were encountered: