147 lines
3.5 KiB
YAML
147 lines
3.5 KiB
YAML
|
---
|
||
|
# ------------------------------------------
|
||
|
# -- Istio extenstion. Just because I'm
|
||
|
# -- not using ingress nginx
|
||
|
# ------------------------------------------
|
||
|
istio:
|
||
|
enabled: true
|
||
|
istio:
|
||
|
- name: grafana-https
|
||
|
gateway: badhouseplants-net
|
||
|
kind: http
|
||
|
hostname: "grafana.badhouseplants.net"
|
||
|
service: prometheus-grafana
|
||
|
port: 80
|
||
|
|
||
|
coreDns:
|
||
|
enabled: false
|
||
|
kubeEtcd:
|
||
|
enabled: false
|
||
|
kubelet:
|
||
|
enabled: false
|
||
|
kubeApiServer:
|
||
|
enabled: false
|
||
|
|
||
|
prometheus-node-exporter:
|
||
|
prometheus:
|
||
|
monitor:
|
||
|
enabled: true
|
||
|
jobLabel: jobLabel
|
||
|
interval: 60s
|
||
|
|
||
|
defaultRules:
|
||
|
create: true
|
||
|
rules:
|
||
|
alertmanager: true
|
||
|
etcd: false
|
||
|
configReloaders: false
|
||
|
general: true
|
||
|
k8s: true
|
||
|
kubeApiserverAvailability: false
|
||
|
kubeApiserverBurnrate: false
|
||
|
kubeApiserverHistogram: false
|
||
|
kubeApiserverSlos: false
|
||
|
kubeControllerManager: false
|
||
|
kubelet: false
|
||
|
kubeProxy: false
|
||
|
kubePrometheusGeneral: false
|
||
|
kubePrometheusNodeRecording: false
|
||
|
kubernetesApps: true
|
||
|
kubernetesResources: true
|
||
|
kubernetesStorage: true
|
||
|
kubernetesSystem: true
|
||
|
kubeSchedulerAlerting: false
|
||
|
kubeSchedulerRecording: true
|
||
|
kubeStateMetrics: true
|
||
|
network: false
|
||
|
node: true
|
||
|
nodeExporterAlerting: true
|
||
|
nodeExporterRecording: true
|
||
|
prometheus: true
|
||
|
prometheusOperator: true
|
||
|
windows: false
|
||
|
|
||
|
prometheus:
|
||
|
prometheusSpec:
|
||
|
enableAdminAPI: true
|
||
|
retentionSize: 10GB
|
||
|
podMonitorNamespaceSelector:
|
||
|
any: true
|
||
|
podMonitorSelector: {}
|
||
|
podMonitorSelectorNilUsesHelmValues: false
|
||
|
ruleNamespaceSelector:
|
||
|
any: true
|
||
|
ruleSelector: {}
|
||
|
ruleSelectorNilUsesHelmValues: false
|
||
|
serviceMonitorNamespaceSelector:
|
||
|
any: true
|
||
|
serviceMonitorSelector: {}
|
||
|
serviceMonitorSelectorNilUsesHelmValues: false
|
||
|
storageSpec:
|
||
|
volumeClaimTemplate:
|
||
|
spec:
|
||
|
accessModes: ["ReadWriteOnce"]
|
||
|
resources:
|
||
|
requests:
|
||
|
storage: 10Gi
|
||
|
|
||
|
grafana:
|
||
|
persistence:
|
||
|
enabled: true
|
||
|
size: 2Gi
|
||
|
grafana.ini:
|
||
|
server:
|
||
|
root_url: https://grafana.badhouseplants.net
|
||
|
auth.generic_oauth:
|
||
|
name: Gitea
|
||
|
icon: signin
|
||
|
enabled: true
|
||
|
allow_sign_up: true
|
||
|
auto_login: false
|
||
|
client_id: 0ce70a7d-f267-44cc-9686-71048277e51d
|
||
|
scopes: openid profile email groups
|
||
|
empty_scopes: false
|
||
|
auth_url: https://git.badhouseplants.net/login/oauth/authorize
|
||
|
token_url: https://git.badhouseplants.net/login/oauth/access_token
|
||
|
api_url: https://git.badhouseplants.net/login/oauth/userinfo
|
||
|
tls_skip_verify_insecure: false
|
||
|
use_pkce: true
|
||
|
role_attribute_path: contains(groups, 'badhouseplants:owners') && 'Admin' || 'Viewer'
|
||
|
|
||
|
dashboardProviders:
|
||
|
dashboardproviders.yaml:
|
||
|
apiVersion: 1
|
||
|
providers:
|
||
|
- name: 'default'
|
||
|
orgId: 1
|
||
|
folder: ''
|
||
|
type: file
|
||
|
disableDeletion: true
|
||
|
editable: false
|
||
|
options:
|
||
|
path: /var/lib/grafana/dashboards/default
|
||
|
|
||
|
dashboards:
|
||
|
default:
|
||
|
gitea-dashboard:
|
||
|
gnetId: 13192
|
||
|
revision: 1
|
||
|
datasource: Prometheus
|
||
|
argo-dashboard:
|
||
|
gnetId: 14584
|
||
|
revision: 1
|
||
|
datasource: Prometheus
|
||
|
|
||
|
datasources:
|
||
|
loki.yaml:
|
||
|
apiVersion: 1
|
||
|
datasources:
|
||
|
- name: Loki
|
||
|
type: loki
|
||
|
access: proxy
|
||
|
uid: loki
|
||
|
editable: false
|
||
|
url: http://loki.monitoring-system:3100/
|
||
|
jsonData:
|
||
|
maxLines: 1000
|