Skip to content

Commit

Permalink
Merge pull request #548 from tsahiduek/patch-1
Browse files Browse the repository at this point in the history
update reference to cni metrics helper
  • Loading branch information
Tim-AWS authored Aug 29, 2024
2 parents 5233ddf + f0f9698 commit 304a9c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/networking/ip-optimization-strategies/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ You can adjust the CNI parameters on the fly without downtime for your existing

#### Monitor IP Address Inventory

In addition to the solutions described above, it is also important to have visibility over IP utilization. You can monitor the IP addresses inventory of subnets using [CNI Metrics Helper](https://docs.aws.amazon.com/eks/latest/userguide/cni-metrics-helper.html). Some of the metrics available are:
In addition to the solutions described above, it is also important to have visibility over IP utilization. You can monitor the IP addresses inventory of subnets using [CNI Metrics Helper]([https://docs.aws.amazon.com/eks/latest/userguide/cni-metrics-helper.html](https://github.com/aws/amazon-vpc-cni-k8s/blob/master/cmd/cni-metrics-helper/README.md). Some of the metrics available are:

* maximum number of ENIs the cluster can support
* number of ENIs already allocated
* number of IP addresses currently assigned to Pods
* total and maximum number of IP address available

You can also set [CloudWatch alarms](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html) to get notified if a subnet is running out of IP addresses. Please visit EKS user guide for install instructions of [CNI metrics helper](https://docs.aws.amazon.com/eks/latest/userguide/cni-metrics-helper.html)
You can also set [CloudWatch alarms](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html) to get notified if a subnet is running out of IP addresses. Please visit EKS user guide for install instructions of [CNI metrics helper]([https://docs.aws.amazon.com/eks/latest/userguide/cni-metrics-helper.html](https://github.com/aws/amazon-vpc-cni-k8s/blob/master/cmd/cni-metrics-helper/README.md))

!!! warning
Make sure `DISABLE_METRICS` variable for VPC CNI is set to false.
Expand Down

0 comments on commit 304a9c4

Please sign in to comment.