A helm chart for CloudWatch Agent to Collect Cluster Metrics
Add the EKS repository to Helm:
helm repo add eks https://aws.github.io/eks-charts
Install or upgrading aws-cloudwatch-metrics chart with default configuration:
helm upgrade --install aws-cloudwatch-metrics \
--namespace amazon-cloudwatch eks/aws-cloudwatch-metrics \
--set clusterName=my-eks-cluster
Parameter | Description | Default | Required |
---|---|---|---|
image.repository |
Image to deploy | amazon/cloudwatch-agent |
✔ |
image.tag |
Image tag to deploy | 1.247345.36b249270 |
|
image.pullPolicy |
Pull policy for the image | IfNotPresent |
✔ |
clusterName |
Name of your cluster | cluster_name |
✔ |
enhancedContainerInsights |
EKS cluster with enhanced monitoring | true |
|
serviceAccount.create |
Whether a new service account should be created | true |
|
serviceAccount.name |
Service account to be used | ||
hostNetwork |
Allow to use the network namespace and network resources of the node | false |
|
nodeSelector |
Node labels for pod assignment | {} | |
tolerations |
Optional deployment tolerations | {} | |
annotations |
Optional pod annotations | {} | |
containerdSockPath |
Path to containerd' socket | /run/containerd/containerd.sock | |
priorityClassName |
Optional priorityClassName | ||
statsd.enabled |
Whether the cloudwatch agent should listen for statsd metrics | false |
|
statsd.port |
The port listening for statsd metrics | 8125 |
|
statsd.protocol |
The protocol used for statsd metrics | UDP |
|
statsd.cloudwatch_namespace |
Optional custom Cloudwatch namespace for statsd metrics | ||
statsd.metrics_aggregation_interval |
Optional cutom metrics aggregation interval for statsd metrics | ||
statsd.metrics_collection_interval |
Optional custom metrics collection interval for statsd metrics |