From d3d57d65bc95e808f1b752617908d297a880a524 Mon Sep 17 00:00:00 2001 From: Daniel Mepham Date: Thu, 7 Mar 2024 12:58:54 -0500 Subject: [PATCH] V0.0.29 release (#49) * Update cloudwatch agent README with sampling rate information (#45) * CP-17021: add NoExecute toleration (#46) adds toleration --- stable/cloudzero-cloudwatch-metrics/Chart.yaml | 2 +- stable/cloudzero-cloudwatch-metrics/README.md | 6 +++++- stable/cloudzero-cloudwatch-metrics/values.yaml | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/stable/cloudzero-cloudwatch-metrics/Chart.yaml b/stable/cloudzero-cloudwatch-metrics/Chart.yaml index 62dd692..1bb466c 100644 --- a/stable/cloudzero-cloudwatch-metrics/Chart.yaml +++ b/stable/cloudzero-cloudwatch-metrics/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 name: cloudzero-cloudwatch-metrics description: A Helm chart to deploy cloudzero-cloudwatch-metrics project -version: 0.0.28 +version: 0.0.29 appVersion: "0.0.23" home: https://cloudzero.github.io/cloudzero-k8s-charts/ diff --git a/stable/cloudzero-cloudwatch-metrics/README.md b/stable/cloudzero-cloudwatch-metrics/README.md index db6cac0..1b546b0 100755 --- a/stable/cloudzero-cloudwatch-metrics/README.md +++ b/stable/cloudzero-cloudwatch-metrics/README.md @@ -27,7 +27,11 @@ helm upgrade --install cloudzero-cloudwatch-metrics \ --set clusterName= ``` -> Note: these are helm3 commands that creates a namespace for this deployment or you can use an existing namespace. +> Note: these are helm3 commands that creates a namespace for this deployment; you can also use an existing namespace. + +### Sampling Frequency + + By default, the agent queries and pushes metrics every `120` seconds. This is a granular enough sampling rate to get usable metrics while keeping costs low. The potential downside is that very short lived pods will not be sampled if they are launched and terminated between sampling times. If sampling short-lived pods is desirable, the agent can be configured to record samples at shorter intervals by updating the `metricsCollectionInterval` value to one of the allowed values. **Please be aware that an increased sampling rate will cause an increase in cost, as well as increased load on the kube API**. ## Configuration diff --git a/stable/cloudzero-cloudwatch-metrics/values.yaml b/stable/cloudzero-cloudwatch-metrics/values.yaml index 4e999b9..49a7156 100644 --- a/stable/cloudzero-cloudwatch-metrics/values.yaml +++ b/stable/cloudzero-cloudwatch-metrics/values.yaml @@ -35,6 +35,8 @@ tolerations: # Allow CloudZero agent to run on all nodes in case of a taint - effect: NoSchedule operator: Exists + - effect: NoExecute + operator: Exists affinity: {}