add devops
This commit is contained in:
57
manifests/devops/grafanaChartConfig.yaml
Normal file
57
manifests/devops/grafanaChartConfig.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
apiVersion: helm.cattle.io/v1
|
||||
kind: HelmChartConfig
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: devops
|
||||
spec:
|
||||
valuesContent: |-
|
||||
# Disable etcd monitoring. See https://github.com/cablespaghetti/k3s-monitoring/issues/4
|
||||
kubeEtcd:
|
||||
enabled: false
|
||||
|
||||
# Disable kube-controller-manager and kube-scheduler monitoring. See https://github.com/cablespaghetti/k3s-monitoring/issues/2
|
||||
kubeControllerManager:
|
||||
enabled: false
|
||||
kubeScheduler:
|
||||
enabled: false
|
||||
|
||||
prometheus:
|
||||
prometheusSpec:
|
||||
retention: 3d
|
||||
|
||||
storageSpec:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: local-path
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
|
||||
grafana:
|
||||
plugins:
|
||||
- grafana-piechart-panel
|
||||
enabled: true
|
||||
grafana.ini:
|
||||
users:
|
||||
viewers_can_edit: true
|
||||
auth:
|
||||
disable_login_form: false
|
||||
disable_signout_menu: false
|
||||
auth.anonymous:
|
||||
enabled: false
|
||||
org_role: Admin
|
||||
auth.basic:
|
||||
enabled: true
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
type: pvc
|
||||
storageClassName: local-path
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 4Gi
|
||||
finalizers:
|
||||
- kubernetes.io/pvc-protection
|
||||
# ALTERNATIVELY IF YOU HAVE AN EXISTING CLAME YOU WISH TO USE/REUSE
|
||||
# existingClaim: prom-grafana
|
||||
Reference in New Issue
Block a user