Skip to content

Commit

Permalink
Added latest dashboards
Browse files Browse the repository at this point in the history
   - k8s-addons-prometheus
   - k8s-addons-trivy-operator
   - k8s-system-coredns
   - k8s-views-global
   - k8s-views-namespaces
   - k8s-views-nodes
   - k8s-views-pods
  • Loading branch information
Venkata Challa committed Mar 13, 2024
1 parent eaf87ed commit 145622e
Show file tree
Hide file tree
Showing 10 changed files with 20,760 additions and 2,647 deletions.
3,150 changes: 3,150 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-addons-prometheus.json

Large diffs are not rendered by default.

2,696 changes: 2,696 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-addons-trivy-operator.json

Large diffs are not rendered by default.

1,363 changes: 1,363 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-system-api-server.json

Large diffs are not rendered by default.

1,634 changes: 1,634 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-system-coredns.json

Large diffs are not rendered by default.

2,989 changes: 2,989 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-views-global.json

Large diffs are not rendered by default.

2,307 changes: 2,307 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-views-namespaces.json

Large diffs are not rendered by default.

3,939 changes: 3,939 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-views-nodes.json

Large diffs are not rendered by default.

2,674 changes: 2,674 additions & 0 deletions cluster/terraform_kubernetes/config/dashboards/k8s-views-pods.json

Large diffs are not rendered by default.

2,645 changes: 0 additions & 2,645 deletions cluster/terraform_kubernetes/config/dashboards/kubernetes-cluster.json

This file was deleted.

10 changes: 8 additions & 2 deletions cluster/terraform_kubernetes/grafana.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,16 @@ resource "kubernetes_config_map" "grafana_dashboards" {
}

data = {
"dashboard1.json" = file("${path.module}/config/dashboards/kubernetes-cluster.json")
"k8s-addons-prometheus.json" = file("${path.module}/config/dashboards/k8s-addons-prometheus.json")
"k8s-addons-trivy-operator.json" = file("${path.module}/config/dashboards/k8s-addons-trivy-operator.json")
"k8s-system-api-server.json" = file("${path.module}/config/dashboards/k8s-system-api-server.json")
"k8s-system-coredns.json" = file("${path.module}/config/dashboards/k8s-system-coredns.json")
"k8s-views-global.json" = file("${path.module}/config/dashboards/k8s-views-global.json")
"k8s-views-namespaces.json" = file("${path.module}/config/dashboards/k8s-views-namespaces.json")
"k8s-views-nodes.json" = file("${path.module}/config/dashboards/k8s-views-nodes.json")
"k8s-views-nodes.json" = file("${path.module}/config/dashboards/k8s-views-nodes.json")
}
}

resource "kubernetes_config_map" "grafana_dashboard_provisioning" {
metadata {
name = "grafana-dashboard-provisioning"
Expand Down

0 comments on commit 145622e

Please sign in to comment.