mirror of
https://github.com/helm/charts.git
synced 2026-09-05 12:27:30 +00:00
* [stable/prometheus-adapter] Added pod annotations to chart. Upgraded chart to latest version of image Signed-off-by: Aaron Mell <amell@lumindigital.com> * [stable/prometheus-adapter] Added pod annotations to chart. Upgraded chart to latest version of image Signed-off-by: Aaron Mell <amell@lumindigital.com> * Fixing code review issues Signed-off-by: Aaron Mell <amell@lumindigital.com> * Removed v from chart.yaml, changed indent to nindent. Added trim to prevent extra line after annotation. Signed-off-by: Aaron Mell <amell@lumindigital.com> * Signed-off-by: Aaron Mell <amell@lumindigital.com>
109 lines
2.6 KiB
YAML
109 lines
2.6 KiB
YAML
# Default values for k8s-prometheus-adapter..
|
|
affinity: {}
|
|
|
|
image:
|
|
repository: directxman12/k8s-prometheus-adapter-amd64
|
|
tag: v0.5.0
|
|
pullPolicy: IfNotPresent
|
|
|
|
logLevel: 4
|
|
|
|
metricsRelistInterval: 1m
|
|
|
|
nodeSelector: {}
|
|
|
|
priorityClassName: ""
|
|
|
|
# Url to access prometheus
|
|
prometheus:
|
|
url: http://prometheus.default.svc
|
|
port: 9090
|
|
|
|
replicas: 1
|
|
|
|
rbac:
|
|
# Specifies whether RBAC resources should be created
|
|
create: true
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name:
|
|
|
|
resources: {}
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
rules:
|
|
default: true
|
|
custom: []
|
|
# - seriesQuery: '{__name__=~"^some_metric_count$"}'
|
|
# resources:
|
|
# template: <<.Resource>>
|
|
# name:
|
|
# matches: ""
|
|
# as: "my_custom_metric"
|
|
# metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (<<.GroupBy>>)
|
|
# Mounts a configMap with pre-generated rules for use. Overrides the
|
|
# default, custom, external and resource entries
|
|
existing:
|
|
external: []
|
|
# - seriesQuery: '{__name__=~"^some_metric_count$"}'
|
|
# resources:
|
|
# template: <<.Resource>>
|
|
# name:
|
|
# matches: ""
|
|
# as: "my_external_metric"
|
|
# metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (<<.GroupBy>>)
|
|
resource: {}
|
|
# cpu:
|
|
# containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>}[3m])) by (<<.GroupBy>>)
|
|
# nodeQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>, id='/'}[3m])) by (<<.GroupBy>>)
|
|
# resources:
|
|
# overrides:
|
|
# instance:
|
|
# resource: node
|
|
# namespace:
|
|
# resource: namespace
|
|
# pod_name:
|
|
# resource: pod
|
|
# containerLabel: container_name
|
|
# memory:
|
|
# containerQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>}) by (<<.GroupBy>>)
|
|
# nodeQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>,id='/'}) by (<<.GroupBy>>)
|
|
# resources:
|
|
# overrides:
|
|
# instance:
|
|
# resource: node
|
|
# namespace:
|
|
# resource: namespace
|
|
# pod_name:
|
|
# resource: pod
|
|
# containerLabel: container_name
|
|
# window: 3m
|
|
|
|
service:
|
|
annotations: {}
|
|
port: 443
|
|
type: ClusterIP
|
|
|
|
tls:
|
|
enable: false
|
|
ca: |-
|
|
# Public CA file that signed the APIService
|
|
key: |-
|
|
# Private key of the APIService
|
|
certificate: |-
|
|
# Public key of the APIService
|
|
|
|
tolerations: []
|
|
|
|
# Annotations added to the pod
|
|
podAnnotations: {}
|