infrastructure/k8s/roles/prometheus/templates/values.yaml.j2

127 lines
2.6 KiB
Text
Raw Normal View History

commonLabels:
prometheus: default
admin:
existingSecret: grafana-admin-credentials
userKey: user
passwordKey: password
defaultRules:
rules:
etcd: false
prometheus:
prometheusSpec:
retention: 7d
serviceMonitorNamespaceSelector:
matchLabels:
prometheus: default
serviceMonitorSelector:
matchLabels:
prometheus: default
ruleSelector:
matchLabels:
prometheus: default
ruleNamespaceSelector:
matchLabels:
prometheus: default
podMonitorSelector:
matchLabels:
prometheus: default
podMonitorNamespaceSelector:
matchLabels:
prometheus: default
resources:
requests:
memory: 3Gi
cpu: 500m
limits:
memory: 4Gi
cpu: 800m
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: hcloud-volumes
resources:
requests:
storage: 15Gi
alertmanager:
enabled: false
kubeEtcd:
enabled: false
kubeControllerManager:
enabled: true
endpoints: ['{{ master_ip }}']
service:
enabled: true
port: 10257
targetPort: 10257
serviceMonitor:
enabled: true
https: true
kubeScheduler:
enabled: true
endpoints: ['{{ master_ip }}']
service:
enabled: true
port: 10259
targetPort: 10259
serviceMonitor:
enabled: true
https: true
kubeProxy:
enabled: true
endpoints: ['{{ master_ip }}']
service:
enabled: true
port: 10249
targetPort: 10249
grafana:
ingress:
enabled: true
hosts:
- grafana.icb4dc0.de
grafana.ini:
server:
domain: grafana.icb4dc0.de
root_url: "https://%(domain)s"
database:
type: postgres
host: default-cluster-primary.postgres.svc:5432
name: grafana
user: "{{ grafana.db.user }}"
password: "{{ grafana.db.password }}"
ssl_mode: require
auth:
disable_login_form: true
auth.generic_oauth:
name: Gitea
icon: signin
enabled: "true"
client_id: {{ grafana.auth.clientId }}
client_secret: {{ grafana.auth.clientSecret }}
empty_scopes: true
auth_url: https://code.icb4dc0.de/login/oauth/authorize
token_url: https://code.icb4dc0.de/login/oauth/access_token
api_url: https://code.icb4dc0.de/login/oauth/userinfo
persistence:
enabled: false
storageClassName: hcloud-volumes
prometheus-node-exporter:
prometheus:
monitor:
additionalLabels:
prometheus: default
kube-state-metrics:
prometheus:
monitor:
additionalLabels:
prometheus: default