1# Default values for prometheus-cloudwatch-exporter.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
7 repository: cgr.dev/scratch-images/test-tmp/prometheus-cloudwatch-exporter
8 # if not set appVersion field from Chart.yaml is used
9 tag: 0.18.0-r5@sha256:a75aaf536ea336b40b1145c1dc9bdfb6462c36b4a2763a3b91e9086aa0166c85
10 pullPolicy: IfNotPresent
12 # - name: "image-pull-secret"
13# Example proxy configuration:
16# - '-Dhttp.proxyHost=proxy.example.com'
17# - '-Dhttp.proxyPort=3128'
18# - '-Dhttps.proxyHost=proxy.example.com'
19# - '-Dhttps.proxyPort=3128'
21# - '/cloudwatch_exporter.jar'
23# - '/config/config.yml'
35# Labels and annotations to attach to the deployment resource
39# Extra environment variables
44# We usually recommend not to specify default resources and to leave this as a conscious
45# choice for the user. This also increases chances charts run on environments with little
46# resources, such as Minikube. If you do want to specify resources, uncomment the following
47# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
57 # Enables usage of regional STS endpoints rather than global which is default
60 # The name of a pre-created secret in which AWS credentials are stored. When
61 # set, aws_access_key_id is assumed to be in a field called access_key,
62 # aws_secret_access_key is assumed to be in a field called secret_key, and the
63 # session token, if it exists, is assumed to be in a field called
67 includesSessionToken: false
68 # Note: Do not specify the aws_access_key_id and aws_secret_access_key if you specified role or secret.name before
70 aws_secret_access_key:
72 # Specifies whether a ServiceAccount should be created
74 # The name of the ServiceAccount to use.
75 # If not set and create is true, a name is generated using the fullname template
78 # Will add the provided map to the annotations for the created serviceAccount
81 # eks.amazonaws.com/role-arn: arn:aws:iam::1234567890:role/prom-cloudwatch-exporter-oidc
82 # eks.amazonaws.com/sts-regional-endpoints: "true"
83 # Specifies whether to automount API credentials for the ServiceAccount.
84 automountServiceAccountToken: true
86 # Specifies whether RBAC resources should be created
88# Configuration is rendered with `tpl` function, therefore you can use any Helm variables and/or templates here
90 # This is the default configuration for prometheus-cloudwatch-exporter
94 - aws_namespace: AWS/ELB
95 aws_metric_name: HealthyHostCount
96 aws_dimensions: [AvailabilityZone, LoadBalancerName]
97 aws_statistics: [Average]
99 - aws_namespace: AWS/ELB
100 aws_metric_name: UnHealthyHostCount
101 aws_dimensions: [AvailabilityZone, LoadBalancerName]
102 aws_statistics: [Average]
104 - aws_namespace: AWS/ELB
105 aws_metric_name: RequestCount
106 aws_dimensions: [AvailabilityZone, LoadBalancerName]
107 aws_statistics: [Sum]
109 - aws_namespace: AWS/ELB
110 aws_metric_name: Latency
111 aws_dimensions: [AvailabilityZone, LoadBalancerName]
112 aws_statistics: [Average]
114 - aws_namespace: AWS/ELB
115 aws_metric_name: SurgeQueueLength
116 aws_dimensions: [AvailabilityZone, LoadBalancerName]
117 aws_statistics: [Maximum, Sum]
121# Configurable health checks against the /healthy and /ready endpoints
124 initialDelaySeconds: 30
131 initialDelaySeconds: 30
137 # When set true then use a ServiceMonitor to configure scraping
139 # Set the namespace the ServiceMonitor should be deployed
140 # namespace: monitoring
141 # Set how frequently Prometheus should scrape
143 # Set path to cloudwatch-exporter telemtery-path
144 # telemetryPath: /metrics
145 # Set labels for the ServiceMonitor, use this to define your scrape label for Prometheus Operator
147 # Set timeout for scrape
149 # Set relabelings for the ServiceMonitor, use to apply to samples before scraping
151 # Set metricRelabelings for the ServiceMonitor, use to apply to samples for ingestion
152 # metricRelabelings: []
154 # Example - note the Kubernetes convention of camelCase instead of Prometheus' snake_case
156 # - sourceLabels: [dbinstance_identifier]
158 # replacement: mydbname
159 # targetLabel: dbname
161 # Specifies whether a PrometheusRule should be created
163 # Set the namespace the PrometheusRule should be deployed
164 # namespace: monitoring
165 # Set labels for the PrometheusRule, use this to define your scrape label for Prometheus Operator
167 # Example - note the Kubernetes convention of camelCase instead of Prometheus'
169 # - alert: ELB-Low-BurstBalance
171 # message: The ELB BurstBalance during the last 10 minutes is lower than 80%.
172 # expr: aws_ebs_burst_balance_average < 80
176 # - alert: ELB-Low-BurstBalance
178 # message: The ELB BurstBalance during the last 10 minutes is lower than 50%.
179 # expr: aws_ebs_burst_balance_average < 50
183 # - alert: ELB-Low-BurstBalance
185 # message: The ELB BurstBalance during the last 10 minutes is lower than 30%.
186 # expr: aws_ebs_burst_balance_average < 30
193 # kubernetes.io/ingress.class: nginx
194 # kubernetes.io/tls-acme: "true"
198 - chart-example.local
200 # - secretName: chart-example-tls
202 # - chart-example.local
204 # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
205 # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
206 # ingressClassName: nginx
208 # pathType is only for k8s >= 1.18
211 runAsUser: 65534 # run as nobody user instead of root
212 fsGroup: 65534 # necessary to be able to read the EKS IAM token
213containerSecurityContext: {}
214# allowPrivilegeEscalation: false
215# readOnlyRootFilesystem: true
217# Leverage a PriorityClass to ensure your pods survive resource shortages
218# ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
219# priorityClassName: system-cluster-critical
221# Specifying a Disruption Budget for prometheus-cloudwatch-exporter
222# ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/