Skip to content

Commit

Permalink
release of v0.0.27 (#40)
Browse files Browse the repository at this point in the history
* CP-13940 updated version and appVersion (#23)

updated version and appVersion

* Cp 13940 Fix Typo (#25)

* updated version and appVersion

* fix typo

* bump version and appversion for new release (#28)

* CP-14789: Add CODEOWNERS  (#33)

Add CODEOWNERS file and mark team cirrus as global owners

Co-authored-by: Brian Drennan <[email protected]>

* CP-14745: Decrease Log Frequency  (#32)

Increase metrics collection interval

Co-authored-by: Brian Drennan <[email protected]>

* CP-14444: Bump Image Tag and App Versions for New Release (#36)

* bump version and app version

* bump image tag

---------

Co-authored-by: Brian Drennan <[email protected]>

* CP-15508: update cloudwatch agent chart to use the latest image version (#37)

* CP-15508: bump chart version

* Allow users to define the metrics collection interval (#38)

* Allow users to define the metrics collection interval

* Bump chart and update docs

* Update readme to include metrics

* Validate metricsCollectionInterval value

---------

Co-authored-by: Robert Hocking <[email protected]>
Co-authored-by: bdrennz <[email protected]>
Co-authored-by: Brian Drennan <[email protected]>
Co-authored-by: Dimitar <[email protected]>
  • Loading branch information
5 people authored Dec 20, 2023
1 parent 7b26615 commit bb842e3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Global Team Ownership
* @cloudzero/cirrus
4 changes: 2 additions & 2 deletions stable/cloudzero-cloudwatch-metrics/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: cloudzero-cloudwatch-metrics
description: A Helm chart to deploy cloudzero-cloudwatch-metrics project
version: 0.0.24
appVersion: "0.0.16"
version: 0.0.27
appVersion: "0.0.22"

home: https://cloudzero.github.io/cloudzero-k8s-charts/
icon: https://raw.githubusercontent.com/cloudzero/cloudzero-k8s-charts/docs/logo/cloudZerologo.png
Expand Down
1 change: 1 addition & 0 deletions stable/cloudzero-cloudwatch-metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ helm upgrade --install cloudzero-cloudwatch-metrics \
| `nodeSelector` | Node labels for pod assignment | {} |
| `tolerations` | Optional deployment tolerations | {} |
| `annotations` | Optional pod annotations | {} |
| `metricsCollectionInterval` | Metrics collection interval in seconds. It can be set to 5, 10, 15, 30, 45, 60 or 120 | 120 |
8 changes: 7 additions & 1 deletion stable/cloudzero-cloudwatch-metrics/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ data:
"metrics_collected": {
"kubernetes": {
"cluster_name": "{{ .Values.clusterName }}",
"metrics_collection_interval": 60
{{- $allowedIntervals := list 5 10 15 30 45 60 120 }}
{{- $failureMessage := printf "metricsCollectionInterval must be set to one of %s" (join "," $allowedIntervals) }}
{{- if not (has (int .Values.metricsCollectionInterval) $allowedIntervals) }}
{{- fail $failureMessage }}
{{- else }}
"metrics_collection_interval": {{ .Values.metricsCollectionInterval }}
{{- end }}
}
},
"force_flush_interval": 5
Expand Down
4 changes: 3 additions & 1 deletion stable/cloudzero-cloudwatch-metrics/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: ghcr.io/cloudzero/cloudzero-agent
tag: 0.0.16
tag: 0.0.22
pullPolicy: IfNotPresent

clusterName: cluster_name
Expand Down Expand Up @@ -64,3 +64,5 @@ daemonsetLabels: {}

# For AWS ROSA (OpenShift)
#openshift: true

metricsCollectionInterval: 120

0 comments on commit bb842e3

Please sign in to comment.