values.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. prometheus:
  2. # https://kubernetes.github.io/ingress-nginx/user-guide/monitoring/
  3. #
  4. # Since Prometheus is running in a different namespace and not in the
  5. # ingress-nginx namespace, it would not be able to discover ServiceMonitors
  6. # in other namespaces when installed. Reconfigure your kube-prometheus-stack
  7. # Helm installation to set serviceMonitorSelectorNilUsesHelmValues flag to
  8. # false. By default, Prometheus only discovers PodMonitors within its own
  9. # namespace. This should be disabled by setting
  10. # podMonitorSelectorNilUsesHelmValues to false
  11. prometheusSpec:
  12. ## If true, a nil or {} value for prometheus.prometheusSpec.podMonitorSelector will cause the
  13. ## prometheus resource to be created with selectors based on values in the helm deployment,
  14. ## which will also match the podmonitors created
  15. ##
  16. podMonitorSelectorNilUsesHelmValues: false
  17. ## If true, a nil or {} value for prometheus.prometheusSpec.serviceMonitorSelector will cause the
  18. ## prometheus resource to be created with selectors based on values in the helm deployment,
  19. ## which will also match the servicemonitors created
  20. ##
  21. serviceMonitorSelectorNilUsesHelmValues: false
  22. ## Prometheus StorageSpec for persistent data
  23. ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/storage.md
  24. storageSpec:
  25. ## Using PersistentVolumeClaim
  26. volumeClaimTemplate:
  27. spec:
  28. storageClassName: hostpath-csi
  29. accessModes: ["ReadWriteOnce"]
  30. resources:
  31. requests:
  32. storage: 50Gi
  33. selector: {}
  34. nodeExporter:
  35. service:
  36. listenOnAllInterfaces: false
  37. coreDns:
  38. enabled: true
  39. service:
  40. port: 10055
  41. targetPort: 10055
  42. grafana:
  43. grafana.ini:
  44. auth.anonymous:
  45. # enable anonymous access
  46. enabled: true
  47. # specify organization name that should be used for unauthenticated users
  48. org_name: "Main Org."
  49. # specify role for unauthenticated users
  50. org_role: Viewer