TKK_E32222411/Grafana-values.yml

57 lines
1.1 KiB
YAML

# Grafana-values.yaml
service:
type: LoadBalancer
loadBalancerIP: "10.10.3.238" # ip menyesuaikan loadbalancer
ports:
- name: http
port: 80
targetPort: 3000
ingress:
enabled: false
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 250m
memory: 512Mi
adminUser: admin
adminPassword: prom-operator
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
url: http://prometheus-server.monitoring.svc.cluster.local
access: proxy
isDefault: true
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/Grafana/dashboards/default
dashboards:
default:
kubernetes-cluster:
gnetId: 315
revision: 1
datasource: Prometheus
wordpress:
gnetId: 10991
revision: 1
datasource: Prometheus