Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 105 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1alpha2/cassandras.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
labels:
k8s.io/group: kubedb.com
k8s.io/kind: Cassandra
k8s.io/resource: cassandras
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-cassandras
spec:
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: Client Connections
query:
byLabel: connect_via
type: GraphQL
ref:
group: appcatalog.appscode.com
kind: AppBinding
- actions:
create: Never
displayMode: List
kind: Connection
name: Cassandra Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: CassandraVersion
- actions:
create: Never
displayMode: List
kind: Connection
name: PetSets
query:
byLabel: offshoot
type: GraphQL
ref:
group: apps.k8s.appscode.com
kind: PetSet
- actions:
create: Never
displayMode: List
kind: Connection
name: Pods
query:
byLabel: offshoot
type: GraphQL
ref:
group: ""
kind: Pod
- actions:
create: Never
displayMode: List
kind: Connection
name: Services
query:
byLabel: exposed_by
type: GraphQL
ref:
group: ""
kind: Service
- actions:
create: Never
displayMode: List
kind: Connection
name: Secrets
query:
byLabel: config
type: GraphQL
ref:
group: ""
kind: Secret
- actions:
create: Never
displayMode: List
kind: Connection
name: PersistentVolumeClaims
query:
byLabel: storage
type: GraphQL
ref:
group: ""
kind: PersistentVolumeClaim
- actions:
create: Never
displayMode: List
kind: Connection
name: Pod Disruption Budgets
query:
byLabel: policy
type: GraphQL
ref:
group: policy
kind: PodDisruptionBudget
resource:
group: kubedb.com
kind: Cassandra
name: cassandras
scope: Namespaced
version: v1alpha2
105 changes: 105 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1alpha2/documentdbs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
labels:
k8s.io/group: kubedb.com
k8s.io/kind: DocumentDB
k8s.io/resource: documentdbs
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-documentdbs
spec:
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: Client Connections
query:
byLabel: connect_via
type: GraphQL
ref:
group: appcatalog.appscode.com
kind: AppBinding
- actions:
create: Never
displayMode: List
kind: Connection
name: DocumentDB Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: DocumentDBVersion
- actions:
create: Never
displayMode: List
kind: Connection
name: PetSets
query:
byLabel: offshoot
type: GraphQL
ref:
group: apps.k8s.appscode.com
kind: PetSet
- actions:
create: Never
displayMode: List
kind: Connection
name: Pods
query:
byLabel: offshoot
type: GraphQL
ref:
group: ""
kind: Pod
- actions:
create: Never
displayMode: List
kind: Connection
name: Services
query:
byLabel: exposed_by
type: GraphQL
ref:
group: ""
kind: Service
- actions:
create: Never
displayMode: List
kind: Connection
name: Secrets
query:
byLabel: config
type: GraphQL
ref:
group: ""
kind: Secret
- actions:
create: Never
displayMode: List
kind: Connection
name: PersistentVolumeClaims
query:
byLabel: storage
type: GraphQL
ref:
group: ""
kind: PersistentVolumeClaim
- actions:
create: Never
displayMode: List
kind: Connection
name: Pod Disruption Budgets
query:
byLabel: policy
type: GraphQL
ref:
group: policy
kind: PodDisruptionBudget
resource:
group: kubedb.com
kind: DocumentDB
name: documentdbs
scope: Namespaced
version: v1alpha2
105 changes: 105 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1alpha2/ignites.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
labels:
k8s.io/group: kubedb.com
k8s.io/kind: Ignite
k8s.io/resource: ignites
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-ignites
spec:
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: Client Connections
query:
byLabel: connect_via
type: GraphQL
ref:
group: appcatalog.appscode.com
kind: AppBinding
- actions:
create: Never
displayMode: List
kind: Connection
name: Ignite Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: IgniteVersion
- actions:
create: Never
displayMode: List
kind: Connection
name: PetSets
query:
byLabel: offshoot
type: GraphQL
ref:
group: apps.k8s.appscode.com
kind: PetSet
- actions:
create: Never
displayMode: List
kind: Connection
name: Pods
query:
byLabel: offshoot
type: GraphQL
ref:
group: ""
kind: Pod
- actions:
create: Never
displayMode: List
kind: Connection
name: Services
query:
byLabel: exposed_by
type: GraphQL
ref:
group: ""
kind: Service
- actions:
create: Never
displayMode: List
kind: Connection
name: Secrets
query:
byLabel: config
type: GraphQL
ref:
group: ""
kind: Secret
- actions:
create: Never
displayMode: List
kind: Connection
name: PersistentVolumeClaims
query:
byLabel: storage
type: GraphQL
ref:
group: ""
kind: PersistentVolumeClaim
- actions:
create: Never
displayMode: List
kind: Connection
name: Pod Disruption Budgets
query:
byLabel: policy
type: GraphQL
ref:
group: policy
kind: PodDisruptionBudget
resource:
group: kubedb.com
kind: Ignite
name: ignites
scope: Namespaced
version: v1alpha2
24 changes: 21 additions & 3 deletions hub/resourcedashboards/kubedb.com/v1alpha2/clickhouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,33 @@ metadata:
labels:
k8s.io/group: kubedb.com
k8s.io/kind: ClickHouse
k8s.io/resource: cliickhouses
k8s.io/resource: clickhouses
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-clickhouses
spec:
dashboards: null
dashboards:
- title: KubeDB / ClickHouse / Summary
vars:
- name: namespace
value: '{{ .metadata.namespace }}'
- name: app
value: '{{ .metadata.name }}'
- title: KubeDB / ClickHouse / Database
vars:
- name: namespace
value: '{{ .metadata.namespace }}'
- name: app
value: '{{ .metadata.name }}'
- title: KubeDB / ClickHouse / Pod
vars:
- name: namespace
value: '{{ .metadata.namespace }}'
- name: app
value: '{{ .metadata.name }}'
provider: Grafana
resource:
group: kubedb.com
kind: ClickHouse
name: cliickhouses
name: clickhouses
scope: Namespaced
version: v1alpha2
22 changes: 1 addition & 21 deletions hub/resourcedashboards/kubedb.com/v1alpha2/db2s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,7 @@ metadata:
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-db2s
spec:
dashboards:
- title: KubeDB / DB2 / Summary
vars:
- name: namespace
value: '{{ .metadata.namespace }}'
- name: app
value: '{{ .metadata.name }}'
- if:
condition: '{{- if or (hasKey .spec "replicaSet") (hasKey .spec "shardTopology") }}true{{ else }}false{{ end -}}'
title: KubeDB / DB2 / Database / ReplicaSet
vars:
- name: namespace
value: '{{ .metadata.namespace }}'
- name: app
value: '{{ .metadata.name }}'
- title: KubeDB / DB2 / Pod
vars:
- name: namespace
value: '{{ .metadata.namespace }}'
- name: app
value: '{{ .metadata.name }}'
dashboards: null
provider: Grafana
resource:
group: kubedb.com
Expand Down
Loading
Loading