aws-cloudwatch-metrics

by Helm

Helm chartv0.0.11App 1.300032.2b361

A Helm chart to deploy aws-cloudwatch-metrics project

About this chart

aws-cloudwatch-metrics

A helm chart for CloudWatch Agent to Collect Cluster Metrics

Installing the Chart

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

Configuration

ParameterDescriptionDefaultRequired
image.repositoryImage to deployamazon/cloudwatch-agent✔
image.tagImage tag to deploy1.247345.36b249270
image.pullPolicyPull policy for the imageIfNotPresent✔
clusterNameName of your clustercluster_name✔
enhancedContainerInsightsEKS cluster with enhanced monitoringtrue
serviceAccount.createWhether a new service account should be createdtrue
serviceAccount.nameService account to be used
hostNetworkAllow to use the network namespace and network resources of the nodefalse
nodeSelectorNode labels for pod assignment{}
tolerationsOptional deployment tolerations{}
annotationsOptional pod annotations{}
containerdSockPathPath to containerd' socket/run/containerd/containerd.sock
priorityClassNameOptional priorityClassName
statsd.enabledWhether the cloudwatch agent should listen for statsd metricsfalse
statsd.portThe port listening for statsd metrics8125
statsd.protocolThe protocol used for statsd metricsUDP
statsd.cloudwatch_namespaceOptional custom Cloudwatch namespace for statsd metrics
statsd.metrics_aggregation_intervalOptional cutom metrics aggregation interval for statsd metrics
statsd.metrics_collection_intervalOptional custom metrics collection interval for statsd metrics

Deploy aws-cloudwatch-metrics with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aws-cloudwatch-metrics on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartaws-cloudwatch-metrics is pinned at v0.0.11 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply