2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/values.yaml
|
|
|
|
+++ charts/values.yaml
|
2021-06-08 06:14:55 +00:00
|
|
|
@@ -1,9 +1,13 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
# Default values for k8s-prometheus-adapter..
|
|
|
|
+global:
|
|
|
|
+ cattle:
|
|
|
|
+ systemDefaultRegistry: ""
|
|
|
|
+
|
|
|
|
affinity: {}
|
|
|
|
|
|
|
|
image:
|
|
|
|
- repository: directxman12/k8s-prometheus-adapter-amd64
|
2021-06-08 06:14:55 +00:00
|
|
|
- tag: v0.8.3
|
2021-05-17 22:30:18 +00:00
|
|
|
+ repository: rancher/mirrored-directxman12-k8s-prometheus-adapter
|
2021-06-08 06:14:55 +00:00
|
|
|
+ tag: v0.8.4
|
2021-05-17 22:30:18 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2021-06-08 06:14:55 +00:00
|
|
|
logLevel: 4
|
|
|
|
@@ -39,6 +43,11 @@
|
|
|
|
# The name of the service account to use.
|
|
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
|
|
name:
|
|
|
|
+ # ServiceAccount annotations.
|
|
|
|
+ # Use case: AWS EKS IAM roles for service accounts
|
|
|
|
+ # ref: https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html
|
|
|
|
+ annotations: {}
|
|
|
|
+
|
|
|
|
# Custom DNS configuration to be added to prometheus-adapter pods
|
|
|
|
dnsConfig: {}
|
|
|
|
# nameservers:
|
|
|
|
@@ -81,7 +90,7 @@
|
|
|
|
# metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (<<.GroupBy>>)
|
|
|
|
resource: {}
|
|
|
|
# cpu:
|
|
|
|
-# containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>}[3m])) by (<<.GroupBy>>)
|
|
|
|
+# containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>, container!=""}[3m])) by (<<.GroupBy>>)
|
|
|
|
# nodeQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>, id='/'}[3m])) by (<<.GroupBy>>)
|
|
|
|
# resources:
|
|
|
|
# overrides:
|
|
|
|
@@ -93,7 +102,7 @@
|
|
|
|
# resource: pod
|
|
|
|
# containerLabel: container
|
|
|
|
# memory:
|
|
|
|
-# containerQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>}) by (<<.GroupBy>>)
|
|
|
|
+# containerQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>, container!=""}) by (<<.GroupBy>>)
|
|
|
|
# nodeQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>,id='/'}) by (<<.GroupBy>>)
|
|
|
|
# resources:
|
|
|
|
# overrides:
|