main.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. # Usage: install_k8s_prom_stack.yml
  16. helm_repo_prometheus: https://prometheus-community.github.io/helm-charts
  17. monitoring_namespace: monitoring
  18. monitoring_app_name: monitoring
  19. k8s_prom_stack_chart_version: 25.0.0
  20. k8s_prom_stack_crd:
  21. - alertmanagerconfigs.monitoring.coreos.com
  22. - alertmanagers.monitoring.coreos.com
  23. - podmonitors.monitoring.coreos.com
  24. - probes.monitoring.coreos.com
  25. - prometheuses.monitoring.coreos.com
  26. - prometheusrules.monitoring.coreos.com
  27. - servicemonitors.monitoring.coreos.com
  28. - thanosrulers.monitoring.coreos.com
  29. kube_prom_stack_image_name: k8s.gcr.io/ingress-nginx/kube-webhook-certgen
  30. kube_prom_stack_image_tag: v1.0
  31. # Usage: configure_k8s_prom_grafana.yml
  32. grafana_namespace: grafana
  33. grafana_dashboard_json_files:
  34. - CoreDNS.json
  35. - Kubernetes_API_server.json
  36. - Kubernetes_Compute_Resources_Cluster.json
  37. - Kubernetes_Compute_Resources_Namespace_Pods.json
  38. - Kubernetes_Compute_Resources_Node_Pods.json
  39. - Kubernetes_Compute_Resources_Pod.json
  40. - Kubernetes_Compute_Resources_Workload.json
  41. - Kubernetes_Kubelet.json
  42. - Kubernetes_Networking_Cluster.json
  43. - Kubernetes_Networking_Namespace_Pods.json
  44. - Kubernetes_Networking_Namespace_Workload.json
  45. - Kubernetes_Networking_Pod.json
  46. - Kubernetes_Networking_Workload.json
  47. - Kubernetes_Scheduler.json
  48. - Prometheus_Overview.json
  49. # Usage: promtail_image.yml
  50. promtail_image_name: "promtail"
  51. promtail_image_tag: "latest"
  52. image_creation_retries: 20
  53. # Usage: k8s_loki_pod.yml
  54. loki_k8s_name: loki
  55. loki_port: 3100
  56. loki_image_name: docker.io/grafana/loki
  57. loki_image_tag: 2.4.1