Skip to content

Commit

Permalink
aws-cloudwatch-metrics: Add container insights with enhanced observab…
Browse files Browse the repository at this point in the history
…ility (#1041)

* aws-cloudwatch-metrics: Add enhanced_container_insights

* aws-cloudwatch-metrics: Update image tag versioning to latest available

* aws-cloudwatch-metrics: Update chart tag

* aws-cloudwatch-metrics: Readme modified

* extended ClusterRole permissions

---------

Co-authored-by: nx1thovignol <[email protected]>
  • Loading branch information
0xtvignoli and nx1thovignol authored Feb 7, 2024
1 parent 941aba5 commit 699a124
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions stable/aws-cloudwatch-metrics/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: aws-cloudwatch-metrics
description: A Helm chart to deploy aws-cloudwatch-metrics project
version: 0.0.9
appVersion: "1.247350"
version: 0.0.10
appVersion: "1.300032.2b361"
home: https://github.com/aws/eks-charts
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
sources:
Expand Down
1 change: 1 addition & 0 deletions stable/aws-cloudwatch-metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ helm upgrade --install aws-cloudwatch-metrics \
| `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` |
Expand Down
2 changes: 1 addition & 1 deletion stable/aws-cloudwatch-metrics/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rules:
resources: ["pods", "nodes", "endpoints"]
verbs: ["list", "watch"]
- apiGroups: ["apps"]
resources: ["replicasets"]
resources: ["replicasets", "daemonsets", "deployments", "statefulsets"]
verbs: ["list", "watch"]
- apiGroups: ["batch"]
resources: ["jobs"]
Expand Down
1 change: 1 addition & 0 deletions stable/aws-cloudwatch-metrics/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ data:
"metrics_collected": {
"kubernetes": {
"cluster_name": "{{ .Values.clusterName }}",
"enhanced_container_insights": "{{ .Values.enhancedContainerInsights.enabled }}",
"metrics_collection_interval": 60
}
},
Expand Down
5 changes: 4 additions & 1 deletion stable/aws-cloudwatch-metrics/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
image:
repository: amazon/cloudwatch-agent
tag: 1.247350.0b251780
tag: 1.300032.2b361
pullPolicy: IfNotPresent

clusterName: cluster_name

enhancedContainerInsights:
enabled: true

resources:
limits:
cpu: 200m
Expand Down

0 comments on commit 699a124

Please sign in to comment.