main.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ---
  2. openshift_grafana_state: present
  3. openshift_grafana_namespace: grafana
  4. openshift_grafana_pod_timeout: 300
  5. openshift_grafana_prometheus_namespace: "{{ openshift_prometheus_namespace | default('openshift-metrics') }}"
  6. openshift_grafana_prometheus_serviceaccount: prometheus
  7. openshift_grafana_serviceaccount_name: grafana
  8. openshift_grafana_serviceaccount_annotations: []
  9. l_openshift_grafana_serviceaccount_annotations:
  10. - serviceaccounts.openshift.io/oauth-redirectreference.primary='{"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"grafana"}}'
  11. openshift_grafana_datasource_name: "prometheus"
  12. openshift_grafana_node_exporter: false
  13. openshift_grafana_graph_granularity: "2m"
  14. openshift_grafana_node_selector: {"region":"infra"}
  15. openshift_grafana_hostname: grafana-{{openshift_grafana_namespace}}.{{openshift_master_default_subdomain}}
  16. openshift_grafana_service_name: grafana
  17. openshift_grafana_service_port: 443
  18. openshift_grafana_service_targetport: 8443
  19. openshift_grafana_container_port: 3000
  20. openshift_grafana_storage_type: "emptydir"
  21. openshift_grafana_pvc_name: grafana
  22. openshift_grafana_pvc_size: "{{ openshift_grafana_storage_volume_size | default('10Gi') }}"
  23. openshift_grafana_pvc_access_modes: [ReadWriteOnce]
  24. openshift_grafana_pvc_pv_selector: "{{ openshift_grafana_storage_labels | default({}) }}"
  25. openshift_grafana_sc_name: "{{ openshift_grafana_storage_class | default(None) }}"
  26. openshift_grafana_dashboards: []
  27. l_openshift_grafana_dashboards:
  28. - openshift-cluster-monitoring.json
  29. - node-exporter-full-dashboard.json
  30. # container resources
  31. openshift_grafana_cpu_limit: null
  32. openshift_grafana_memory_limit: null
  33. openshift_grafana_cpu_requests: null
  34. openshift_grafana_memory_requests: null
  35. openshift_grafana_oauth_proxy_cpu_limit: null
  36. openshift_grafana_oauth_proxy_memory_limit: null
  37. openshift_grafana_oauth_proxy_cpu_requests: null
  38. openshift_grafana_oauth_proxy_memory_requests: null
  39. openshift_grafana_datasource_payload:
  40. name: grafana_name
  41. type: prometheus
  42. typeLogoUrl: ''
  43. access: proxy
  44. url: https://prometheus_url
  45. basicAuth: false
  46. withCredentials: false
  47. jsonData:
  48. tlsSkipVerify: true
  49. token: satoken