From e8ff6563bc4743e8cf705cbd62b343d34a4149d9 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 21 Aug 2026 19:04:37 +0600 Subject: [PATCH 1/6] Populate missing KubeDB ResourceDashboards from the dashboard charts Dashboards were missing or incomplete for several KubeDB kinds, so RenderDashboard returned an empty list for them. Titles taken from kubedb.dev/installer charts/kubedb-grafana-dashboards (helm-rendered GrafanaDashboard .spec.model.title). Filled in (were dashboards: null): Memcached, PerconaXtraDB, PgBouncer, RedisSentinel (v1 and v1alpha2) and Weaviate (v1alpha2). Completed: Kafka gains Summary and Pod, MariaDB gains Standard Replication, Postgres gains Remote Replica. Added kafka.kubedb.com/v1alpha1/connectclusters.yaml for the three Kafka / ConnectCluster dashboards. Conditions use spec.topology.mode for MariaDB (enum is MariaDBReplication|GaleraCluster) and spec.remoteReplica for Postgres. Signed-off-by: Arnob kumar saha --- .../v1alpha1/connectclusters.yaml | 36 +++++++++++++++++++ .../kubedb.com/v1/kafkas.yaml | 14 +++++++- .../kubedb.com/v1/mariadbs.yaml | 8 +++++ .../kubedb.com/v1/memcacheds.yaml | 20 ++++++++++- .../kubedb.com/v1/perconaxtradbs.yaml | 28 ++++++++++++++- .../kubedb.com/v1/pgbouncers.yaml | 20 ++++++++++- .../kubedb.com/v1/postgreses.yaml | 8 +++++ .../kubedb.com/v1/redissentinels.yaml | 14 +++++++- .../kubedb.com/v1alpha2/kafkas.yaml | 14 +++++++- .../kubedb.com/v1alpha2/mariadbs.yaml | 8 +++++ .../kubedb.com/v1alpha2/memcacheds.yaml | 20 ++++++++++- .../kubedb.com/v1alpha2/perconaxtradbs.yaml | 28 ++++++++++++++- .../kubedb.com/v1alpha2/pgbouncers.yaml | 20 ++++++++++- .../kubedb.com/v1alpha2/postgreses.yaml | 8 +++++ .../kubedb.com/v1alpha2/redissentinels.yaml | 14 +++++++- .../kubedb.com/v1alpha2/weaviates.yaml | 20 ++++++++++- 16 files changed, 269 insertions(+), 11 deletions(-) create mode 100644 hub/resourcedashboards/kafka.kubedb.com/v1alpha1/connectclusters.yaml diff --git a/hub/resourcedashboards/kafka.kubedb.com/v1alpha1/connectclusters.yaml b/hub/resourcedashboards/kafka.kubedb.com/v1alpha1/connectclusters.yaml new file mode 100644 index 0000000000..fb7816df8f --- /dev/null +++ b/hub/resourcedashboards/kafka.kubedb.com/v1alpha1/connectclusters.yaml @@ -0,0 +1,36 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + labels: + k8s.io/group: kafka.kubedb.com + k8s.io/kind: ConnectCluster + k8s.io/resource: connectclusters + k8s.io/version: v1alpha1 + name: kafka.kubedb.com-v1alpha1-connectclusters +spec: + dashboards: + - title: KubeDB / Kafka / ConnectCluster / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Kafka / ConnectCluster / Connect + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Kafka / ConnectCluster / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: kafka.kubedb.com + kind: ConnectCluster + name: connectclusters + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcedashboards/kubedb.com/v1/kafkas.yaml b/hub/resourcedashboards/kubedb.com/v1/kafkas.yaml index 280b2f3aa7..a4f994352c 100644 --- a/hub/resourcedashboards/kubedb.com/v1/kafkas.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/kafkas.yaml @@ -9,11 +9,23 @@ metadata: name: kubedb.com-v1-kafkas spec: dashboards: + - title: KubeDB / Kafka / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' - title: KubeDB / Kafka / Database vars: - name: namespace value: '{{ .metadata.namespace }}' - - name: service + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Kafka / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app value: '{{ .metadata.name }}' provider: Grafana resource: diff --git a/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml b/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml index dbd041bcfd..442a12a824 100644 --- a/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml @@ -23,6 +23,14 @@ spec: value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' + - if: + condition: '{{- if eq (dig "topology" "mode" "" .spec) "MariaDBReplication" }}true{{ else }}false{{ end -}}' + title: KubeDB / MariaDB / Standard Replication + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' - title: KubeDB / MariaDB / Database vars: - name: namespace diff --git a/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml b/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml index 9525e6cfdc..a59d23ac59 100644 --- a/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml @@ -8,7 +8,25 @@ metadata: k8s.io/version: v1 name: kubedb.com-v1-memcacheds spec: - dashboards: null + dashboards: + - title: KubeDB / Memcached / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Memcached / Database + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Memcached / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1/perconaxtradbs.yaml b/hub/resourcedashboards/kubedb.com/v1/perconaxtradbs.yaml index 89c6b6c033..e48b37cf95 100644 --- a/hub/resourcedashboards/kubedb.com/v1/perconaxtradbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/perconaxtradbs.yaml @@ -8,7 +8,33 @@ metadata: k8s.io/version: v1 name: kubedb.com-v1-perconaxtradbs spec: - dashboards: null + dashboards: + - title: KubeDB / PerconaXtraDB / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - if: + condition: '{{- if eq .spec.replicas 1 }}false{{ else }}true{{ end -}}' + title: KubeDB / PerconaXtraDB / Galera-Cluster + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PerconaXtraDB / Database + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PerconaXtraDB / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1/pgbouncers.yaml b/hub/resourcedashboards/kubedb.com/v1/pgbouncers.yaml index f0afcba6e2..aa336c2ec4 100644 --- a/hub/resourcedashboards/kubedb.com/v1/pgbouncers.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/pgbouncers.yaml @@ -8,7 +8,25 @@ metadata: k8s.io/version: v1 name: kubedb.com-v1-pgbouncers spec: - dashboards: null + dashboards: + - title: KubeDB / PgBouncer / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PgBouncer / Database + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PgBouncer / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1/postgreses.yaml b/hub/resourcedashboards/kubedb.com/v1/postgreses.yaml index 907c03ad80..051be1840f 100644 --- a/hub/resourcedashboards/kubedb.com/v1/postgreses.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/postgreses.yaml @@ -15,6 +15,14 @@ spec: value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' + - if: + condition: '{{- if hasKey .spec "remoteReplica" }}true{{ else }}false{{ end -}}' + title: KubeDB / Postgres / Remote Replica + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' - title: KubeDB / Postgres / Database vars: - name: namespace diff --git a/hub/resourcedashboards/kubedb.com/v1/redissentinels.yaml b/hub/resourcedashboards/kubedb.com/v1/redissentinels.yaml index 4add9829fd..1aeb514ef3 100644 --- a/hub/resourcedashboards/kubedb.com/v1/redissentinels.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/redissentinels.yaml @@ -8,7 +8,19 @@ metadata: k8s.io/version: v1 name: kubedb.com-v1-redissentinels spec: - dashboards: null + dashboards: + - title: KubeDB / RedisSentinel / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / RedisSentinel / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/kafkas.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/kafkas.yaml index 0e80023552..43cd6d952c 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/kafkas.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/kafkas.yaml @@ -9,11 +9,23 @@ metadata: name: kubedb.com-v1alpha2-kafkas spec: dashboards: + - title: KubeDB / Kafka / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' - title: KubeDB / Kafka / Database vars: - name: namespace value: '{{ .metadata.namespace }}' - - name: service + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Kafka / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app value: '{{ .metadata.name }}' provider: Grafana resource: diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml index 165f8f5fcf..5b3a83e3e1 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml @@ -23,6 +23,14 @@ spec: value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' + - if: + condition: '{{- if eq (dig "topology" "mode" "" .spec) "MariaDBReplication" }}true{{ else }}false{{ end -}}' + title: KubeDB / MariaDB / Standard Replication + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' - title: KubeDB / MariaDB / Database vars: - name: namespace diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml index 903162eee3..e5b04bd54a 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml @@ -8,7 +8,25 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-memcacheds spec: - dashboards: null + dashboards: + - title: KubeDB / Memcached / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Memcached / Database + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Memcached / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/perconaxtradbs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/perconaxtradbs.yaml index e4c6d52d86..f018fd66d6 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/perconaxtradbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/perconaxtradbs.yaml @@ -8,7 +8,33 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-perconaxtradbs spec: - dashboards: null + dashboards: + - title: KubeDB / PerconaXtraDB / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - if: + condition: '{{- if eq .spec.replicas 1 }}false{{ else }}true{{ end -}}' + title: KubeDB / PerconaXtraDB / Galera-Cluster + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PerconaXtraDB / Database + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PerconaXtraDB / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pgbouncers.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pgbouncers.yaml index e133269ab1..68d5900f82 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/pgbouncers.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pgbouncers.yaml @@ -8,7 +8,25 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-pgbouncers spec: - dashboards: null + dashboards: + - title: KubeDB / PgBouncer / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PgBouncer / Database + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / PgBouncer / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/postgreses.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/postgreses.yaml index 27be113312..480455e4ce 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/postgreses.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/postgreses.yaml @@ -15,6 +15,14 @@ spec: value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' + - if: + condition: '{{- if hasKey .spec "remoteReplica" }}true{{ else }}false{{ end -}}' + title: KubeDB / Postgres / Remote Replica + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' - title: KubeDB / Postgres / Database vars: - name: namespace diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/redissentinels.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/redissentinels.yaml index df06960b7a..fc9cd4e9cc 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/redissentinels.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/redissentinels.yaml @@ -8,7 +8,19 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-redissentinels spec: - dashboards: null + dashboards: + - title: KubeDB / RedisSentinel / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / RedisSentinel / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/weaviates.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/weaviates.yaml index c6162c081b..07a9c5d2ee 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/weaviates.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/weaviates.yaml @@ -8,7 +8,25 @@ metadata: k8s.io/version: v1alpha2 name: kubedb.com-v1alpha2-weaviates spec: - dashboards: null + dashboards: + - title: KubeDB / Weaviate / Summary + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Weaviate / Database + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - title: KubeDB / Weaviate / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com From 8d0444ee904a168c053f1216b49795bc542485d2 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 21 Aug 2026 19:06:42 +0600 Subject: [PATCH 2/6] Add the missing pod ResourceDashboards for KubeDB kinds hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-*.yaml reference 28 -pod ResourceDashboards but only 7 existed, so the Dashboard column in those pod views failed to resolve. Adds the 17 v1alpha2 dashboards that the charts ship a Pod dashboard for, plus v1 copies for perconaxtradbs and pgbouncers, which also exist in kubedb.com/v1. db2s, documentdbs, hanadbs and milvuses stay unresolved: neither dashboard chart ships a Pod dashboard for them. Signed-off-by: Arnob kumar saha --- .../kubedb.com/v1/pod/perconaxtradbs.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1/pod/pgbouncers.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/cassandras.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/clickhouses.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/druids.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/hazelcasts.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/ignites.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/mssqlservers.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/neo4js.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/oracles.yaml | 18 ++++++++++++++++++ .../v1alpha2/pod/perconaxtradbs.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/pgbouncers.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/pgpools.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/qdrants.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/rabbitmqs.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/singlestores.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/solrs.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/weaviates.yaml | 18 ++++++++++++++++++ .../kubedb.com/v1alpha2/pod/zookeepers.yaml | 18 ++++++++++++++++++ 19 files changed, 342 insertions(+) create mode 100644 hub/resourcedashboards/kubedb.com/v1/pod/perconaxtradbs.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1/pod/pgbouncers.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/clickhouses.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/druids.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/hazelcasts.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/mssqlservers.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/neo4js.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/oracles.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/perconaxtradbs.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgbouncers.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgpools.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/qdrants.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/rabbitmqs.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/singlestores.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/solrs.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/weaviates.yaml create mode 100644 hub/resourcedashboards/kubedb.com/v1alpha2/pod/zookeepers.yaml diff --git a/hub/resourcedashboards/kubedb.com/v1/pod/perconaxtradbs.yaml b/hub/resourcedashboards/kubedb.com/v1/pod/perconaxtradbs.yaml new file mode 100644 index 0000000000..f6a1300e61 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1/pod/perconaxtradbs.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1-perconaxtradbs-pod +spec: + dashboards: + - title: KubeDB / PerconaXtraDB / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1/pod/pgbouncers.yaml b/hub/resourcedashboards/kubedb.com/v1/pod/pgbouncers.yaml new file mode 100644 index 0000000000..79a6d2865c --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1/pod/pgbouncers.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1-pgbouncers-pod +spec: + dashboards: + - title: KubeDB / PgBouncer / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml new file mode 100644 index 0000000000..621d7724d3 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-cassandras-pod +spec: + dashboards: + - title: KubeDB / Cassandra / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/clickhouses.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/clickhouses.yaml new file mode 100644 index 0000000000..3c49e9b959 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/clickhouses.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-clickhouses-pod +spec: + dashboards: + - title: KubeDB / ClickHouse / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/druids.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/druids.yaml new file mode 100644 index 0000000000..eacd7cdae4 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/druids.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-druids-pod +spec: + dashboards: + - title: KubeDB / Druid / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/hazelcasts.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/hazelcasts.yaml new file mode 100644 index 0000000000..d130e39d4a --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/hazelcasts.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-hazelcasts-pod +spec: + dashboards: + - title: KubeDB / Hazelcast / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml new file mode 100644 index 0000000000..32b74cf9b9 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-ignites-pod +spec: + dashboards: + - title: KubeDB / Ignite / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/mssqlservers.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/mssqlservers.yaml new file mode 100644 index 0000000000..84cd52efd5 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/mssqlservers.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-mssqlservers-pod +spec: + dashboards: + - title: KubeDB / MSSQLServer / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/neo4js.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/neo4js.yaml new file mode 100644 index 0000000000..af512af53c --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/neo4js.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-neo4js-pod +spec: + dashboards: + - title: KubeDB / Neo4j / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/oracles.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/oracles.yaml new file mode 100644 index 0000000000..267ab03c4c --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/oracles.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-oracles-pod +spec: + dashboards: + - title: KubeDB / Oracle / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/perconaxtradbs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/perconaxtradbs.yaml new file mode 100644 index 0000000000..0a263cc1bc --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/perconaxtradbs.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-perconaxtradbs-pod +spec: + dashboards: + - title: KubeDB / PerconaXtraDB / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgbouncers.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgbouncers.yaml new file mode 100644 index 0000000000..1d79d1405a --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgbouncers.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-pgbouncers-pod +spec: + dashboards: + - title: KubeDB / PgBouncer / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgpools.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgpools.yaml new file mode 100644 index 0000000000..4df209f8e6 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/pgpools.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-pgpools-pod +spec: + dashboards: + - title: KubeDB / Pgpool / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/qdrants.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/qdrants.yaml new file mode 100644 index 0000000000..e770ee5108 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/qdrants.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-qdrants-pod +spec: + dashboards: + - title: KubeDB / Qdrant / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/rabbitmqs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/rabbitmqs.yaml new file mode 100644 index 0000000000..15e8240901 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/rabbitmqs.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-rabbitmqs-pod +spec: + dashboards: + - title: KubeDB / RabbitMQ / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/singlestores.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/singlestores.yaml new file mode 100644 index 0000000000..738302eccb --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/singlestores.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-singlestores-pod +spec: + dashboards: + - title: KubeDB / Singlestore / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/solrs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/solrs.yaml new file mode 100644 index 0000000000..6abc157d54 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/solrs.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-solrs-pod +spec: + dashboards: + - title: KubeDB / Solr / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/weaviates.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/weaviates.yaml new file mode 100644 index 0000000000..5609cb6d63 --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/weaviates.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-weaviates-pod +spec: + dashboards: + - title: KubeDB / Weaviate / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/zookeepers.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/zookeepers.yaml new file mode 100644 index 0000000000..b1127860ce --- /dev/null +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/zookeepers.yaml @@ -0,0 +1,18 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceDashboard +metadata: + name: kubedb.com-v1alpha2-zookeepers-pod +spec: + dashboards: + - title: KubeDB / ZooKeeper / Pod + vars: + - name: namespace + value: '{{ .metadata.namespace }}' + - name: app + value: '{{ .metadata.name }}' + - name: pod + type: Target + value: '{{ .metadata.name }}' + provider: Grafana + resource: + group: "" From 910829531624eec05ab207397237741fcc6f1996 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 21 Aug 2026 19:07:54 +0600 Subject: [PATCH 3/6] Drop ResourceDashboard titles that no dashboard chart ships Neither kubedb-grafana-dashboards nor kubedb-perses-dashboards ships a HanaDB / Pod or a Milvus / Pod dashboard, so those two entries never resolved. ZooKeeper ships Ensemble, not Database. Signed-off-by: Arnob kumar saha --- hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml | 6 ------ hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml | 6 ------ hub/resourcedashboards/kubedb.com/v1alpha2/zookeeper.yaml | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml index 7c60986dc4..aa3177c321 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml @@ -21,12 +21,6 @@ spec: value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' - - title: KubeDB / HanaDB / Pod - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml index 259fcfd904..dcb5d1f7d7 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml @@ -21,12 +21,6 @@ spec: value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' - - title: KubeDB / Milvus / Pod - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/zookeeper.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/zookeeper.yaml index 1f8fd66f32..c24595dca6 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/zookeeper.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/zookeeper.yaml @@ -15,7 +15,7 @@ spec: value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' - - title: KubeDB / ZooKeeper / Database + - title: KubeDB / ZooKeeper / Ensemble vars: - name: namespace value: '{{ .metadata.namespace }}' From 2d77ff70126e5ff858ec766e66a832cc39034684 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 21 Aug 2026 19:09:41 +0600 Subject: [PATCH 4/6] Only pass dashboard vars the dashboard actually declares Every entry passed namespace and app regardless of the dashboard's own templating list, so the values were inert wherever the dashboard declares something else. Variables per dashboard come from helm-rendering charts/kubedb-grafana-dashboards and reading .spec.model.templating.list. Cassandra Database/Pod use cluster and datacenter, HanaDB Database uses node_name/node_ip/sid/instance_number/database_name, Memcached Database uses job, Memcached Pod and Ignite Pod use their own names, Ignite Database has app but no namespace, Milvus Database has namespace but no app. Ignite Pod declares job, cacheName and node but no pod, so kubedb.com-v1alpha2-ignites-pod cannot scope to a pod. The dashboard needs a pod variable before that entry can do anything useful. Signed-off-by: Arnob kumar saha --- hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml | 10 ---------- .../kubedb.com/v1alpha2/cassandra.yaml | 10 ---------- .../kubedb.com/v1alpha2/hanadbs.yaml | 5 ----- .../kubedb.com/v1alpha2/ignites.yaml | 7 ------- .../kubedb.com/v1alpha2/memcacheds.yaml | 10 ---------- .../kubedb.com/v1alpha2/milvuses.yaml | 2 -- .../kubedb.com/v1alpha2/pod/cassandras.yaml | 4 ---- .../kubedb.com/v1alpha2/pod/ignites.yaml | 8 -------- 8 files changed, 56 deletions(-) diff --git a/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml b/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml index a59d23ac59..f3373b57a5 100644 --- a/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/memcacheds.yaml @@ -16,17 +16,7 @@ spec: - name: app value: '{{ .metadata.name }}' - title: KubeDB / Memcached / Database - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' - title: KubeDB / Memcached / Pod - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/cassandra.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/cassandra.yaml index f72d404d4c..9541f867a9 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/cassandra.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/cassandra.yaml @@ -16,17 +16,7 @@ spec: - name: app value: '{{ .metadata.name }}' - title: KubeDB / Cassandra / Database - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' - title: KubeDB / Cassandra / Pod - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml index aa3177c321..181d0c9e1b 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/hanadbs.yaml @@ -16,11 +16,6 @@ spec: - name: app value: '{{ .metadata.name }}' - title: KubeDB / HanaDB / Database - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/ignites.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/ignites.yaml index 47059ff5ca..a5b84481b6 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/ignites.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/ignites.yaml @@ -17,16 +17,9 @@ spec: value: '{{ .metadata.name }}' - title: KubeDB / Ignite / Database vars: - - name: namespace - value: '{{ .metadata.namespace }}' - name: app value: '{{ .metadata.name }}' - title: KubeDB / Ignite / Pod - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml index e5b04bd54a..964ec3a1ab 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/memcacheds.yaml @@ -16,17 +16,7 @@ spec: - name: app value: '{{ .metadata.name }}' - title: KubeDB / Memcached / Database - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' - title: KubeDB / Memcached / Pod - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml index dcb5d1f7d7..2b2c97adb9 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/milvuses.yaml @@ -19,8 +19,6 @@ spec: vars: - name: namespace value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' provider: Grafana resource: group: kubedb.com diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml index 621d7724d3..19631e72be 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/cassandras.yaml @@ -6,10 +6,6 @@ spec: dashboards: - title: KubeDB / Cassandra / Pod vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' - name: pod type: Target value: '{{ .metadata.name }}' diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml index 32b74cf9b9..e0cf267e5f 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/pod/ignites.yaml @@ -5,14 +5,6 @@ metadata: spec: dashboards: - title: KubeDB / Ignite / Pod - vars: - - name: namespace - value: '{{ .metadata.namespace }}' - - name: app - value: '{{ .metadata.name }}' - - name: pod - type: Target - value: '{{ .metadata.name }}' provider: Grafana resource: group: "" From 15341840cebacc97a1185d60c408857fb35b3fc3 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 21 Aug 2026 19:10:51 +0600 Subject: [PATCH 5/6] Do not show the MariaDB Galera-Cluster dashboard for standard replication The condition was replicas != 1, which is also true for a spec.topology.mode of MariaDBReplication, so both Galera-Cluster and Standard Replication rendered for a standard-replication cluster. spec.topology is optional and a MariaDB with replicas > 1 and no topology is Galera, so the default for the missing key is GaleraCluster. Rendered through pkg/shared.RenderTemplate against unstructured input for replicas=1, replicas=3 without topology, replicas=3 GaleraCluster and replicas=3 MariaDBReplication. Signed-off-by: Arnob kumar saha --- hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml | 2 +- hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml b/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml index 442a12a824..445dd0371e 100644 --- a/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1/mariadbs.yaml @@ -16,7 +16,7 @@ spec: - name: app value: '{{ .metadata.name }}' - if: - condition: '{{- if eq .spec.replicas 1 }}false{{ else }}true{{ end -}}' + condition: '{{- if and (ne .spec.replicas 1) (ne (dig "topology" "mode" "GaleraCluster" .spec) "MariaDBReplication") }}true{{ else }}false{{ end -}}' title: KubeDB / MariaDB / Galera-Cluster vars: - name: namespace diff --git a/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml b/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml index 5b3a83e3e1..60c621f34a 100644 --- a/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml +++ b/hub/resourcedashboards/kubedb.com/v1alpha2/mariadbs.yaml @@ -16,7 +16,7 @@ spec: - name: app value: '{{ .metadata.name }}' - if: - condition: '{{- if eq .spec.replicas 1 }}false{{ else }}true{{ end -}}' + condition: '{{- if and (ne .spec.replicas 1) (ne (dig "topology" "mode" "GaleraCluster" .spec) "MariaDBReplication") }}true{{ else }}false{{ end -}}' title: KubeDB / MariaDB / Galera-Cluster vars: - name: namespace From 1aa1566f1eb60110751bdc5c243f7bee5f774017 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 21 Aug 2026 19:18:44 +0600 Subject: [PATCH 6/6] Drop pod view Dashboard columns that can never resolve podviews-db2s, podviews-documentdbs, podviews-hanadbs and podviews-milvuses each carry a Dashboard column pointing at a -pod ResourceDashboard that cannot exist, because neither kubedb-grafana-dashboards nor kubedb-perses-dashboards ships a Pod dashboard for those four kinds. tableconvertor marks such a column RenderError and puts the lookup failure in its Message, so the column rendered as a permanent error rather than failing the table. With these removed, every dashboard reference in hub/resourcetabledefinitions resolves to an existing ResourceDashboard. Signed-off-by: Arnob kumar saha --- .../v1alpha1/kubedb/podviews-db2s.yaml | 6 ------ .../v1alpha1/kubedb/podviews-documentdbs.yaml | 6 ------ .../v1alpha1/kubedb/podviews-hanadbs.yaml | 6 ------ .../v1alpha1/kubedb/podviews-milvuses.yaml | 6 ------ 4 files changed, 24 deletions(-) diff --git a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-db2s.yaml b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-db2s.yaml index 036d3746e5..5c594e4709 100644 --- a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-db2s.yaml +++ b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-db2s.yaml @@ -68,12 +68,6 @@ spec: template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' type: integer type: date - - dashboard: - name: kubedb.com-v1alpha2-db2s-pod - name: Dashboard - priority: 4 - textAlign: center - type: string - exec: {} name: Connect pathTemplate: '{{ .metadata.name }}' diff --git a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-documentdbs.yaml b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-documentdbs.yaml index 98343e4df7..aaad5e04c2 100644 --- a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-documentdbs.yaml +++ b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-documentdbs.yaml @@ -68,12 +68,6 @@ spec: template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' type: integer type: date - - dashboard: - name: kubedb.com-v1alpha2-documentdbs-pod - name: Dashboard - priority: 4 - textAlign: center - type: string - exec: {} name: Connect pathTemplate: '{{ .metadata.name }}' diff --git a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-hanadbs.yaml b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-hanadbs.yaml index 90fae53ac2..ae368363c9 100644 --- a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-hanadbs.yaml +++ b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-hanadbs.yaml @@ -68,12 +68,6 @@ spec: template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' type: integer type: date - - dashboard: - name: kubedb.com-v1alpha2-hanadbs-pod - name: Dashboard - priority: 4 - textAlign: center - type: string - exec: {} name: Connect pathTemplate: '{{ .metadata.name }}' diff --git a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-milvuses.yaml b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-milvuses.yaml index ce0fae746b..ec53208859 100644 --- a/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-milvuses.yaml +++ b/hub/resourcetabledefinitions/core.k8s.appscode.com/v1alpha1/kubedb/podviews-milvuses.yaml @@ -68,12 +68,6 @@ spec: template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}' type: integer type: date - - dashboard: - name: kubedb.com-v1alpha2-milvuses-pod - name: Dashboard - priority: 4 - textAlign: center - type: string - exec: {} name: Connect pathTemplate: '{{ .metadata.name }}'