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
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1/kafkas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: KafkaSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
container: kafka
help: |
kafka-topics.sh --bootstrap-server localhost:9092 --list
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Kafka
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1/pgbouncers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- psql -p 5432 pgbouncer
container: pgbouncer
help: |
SHOW DATABASES;
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: PgBouncer
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1/redissentinels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- redis-cli -p 26379
container: redissentinel
help: |
sentinel masters
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: RedisSentinel
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/aerospikes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- asadm
container: aerospike
help: |
info
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Aerospike
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- cqlsh -u "$CASSANDRA_USER" -p "$CASSANDRA_PASSWORD"
container: cassandra
help: |
DESCRIBE KEYSPACES;
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Cassandra
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/clickhouses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- clickhouse-client -u "$CLICKHOUSE_USER" --password "$CLICKHOUSE_PASSWORD"
container: clickhouse
help: |
SHOW DATABASES;
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: ClickHouse
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/db2s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- db2
container: db2
help: |
connect to $DBNAME
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: DB2
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/documentdbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- psql -U "$POSTGRES_USER"
container: documentdb
help: |
\l
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: DocumentDB
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: DruidSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
container: druid
help: |
curl -u "admin:$DRUID_ADMIN_PASSWORD" "http://localhost:8888/status"
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Druid
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/hanadbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- hdbsql -u "$HANA_USER" -p "$HANA_PASSWORD"
container: hanadb
help: |
\s
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: HanaDB
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/hazelcasts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
container: hazelcast
help: |
hz-cli --targets "$USERNAME/dev@localhost:5701" cluster
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Hazelcast
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/ignites.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
container: ignite
help: |
/opt/ignite/apache-ignite/bin/control.sh --user ignite --password "$IGNITE_PASSWORD" --baseline
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Ignite
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/kafkas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: KafkaSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
container: kafka
help: |
kafka-topics.sh --bootstrap-server localhost:9092 --list
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Kafka
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/milvuses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
container: milvus
help: |
curl "http://localhost:9091/healthz"
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Milvus
Expand Down
12 changes: 12 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,18 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: MSSQLServerSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- export PATH="/opt/mssql-tools18/bin:/opt/mssql-tools/bin:$PATH"; sqlcmd -S localhost
-U "$MSSQL_SA_USERNAME" -P "$MSSQL_SA_PASSWORD" -C
container: mssql
help: |
SELECT name FROM sys.databases;
GO
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: MSSQLServer
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/neo4js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- cypher-shell -u "$(cat /config/neo4j-auth/username)" -p "$(cat /config/neo4j-auth/password)"
container: neo4j
help: |
SHOW DATABASES;
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Neo4j
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/oracles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- sqlplus / as sysdba
container: oracle
help: |
SELECT name FROM v$database;
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Oracle
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/pgbouncers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- psql -p 5432 pgbouncer
container: pgbouncer
help: |
SHOW DATABASES;
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: PgBouncer
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: PgpoolSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- psql -U "$POSTGRES_USERNAME"
container: pgpool
help: |
\l
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Pgpool
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/qdrants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
container: qdrant
help: |
curl -H "api-key: $QDRANT__SERVICE__API_KEY" "http://localhost:6333/collections"
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Qdrant
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: RabbitMQSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- rabbitmqctl status
container: rabbitmq
help: |
rabbitmqctl list_queues
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: RabbitMQ
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/redissentinels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
apiVersion: core.k8s.appscode.com/v1alpha1
kind: GenericResourceService
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- redis-cli -p 26379
container: redissentinel
help: |
sentinel masters
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: RedisSentinel
Expand Down
10 changes: 10 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: SinglestoreSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
- -c
- memsql -u "$ROOT_USERNAME" -p"$ROOT_PASSWORD"
container: singlestore
help: |
show databases;
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Singlestore
Expand Down
8 changes: 8 additions & 0 deletions hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ spec:
apiVersion: ui.kubedb.com/v1alpha1
kind: SolrSchemaOverview
type: MatchName
exec:
- alias: Primary
command:
- bash
container: solr
help: |
curl -u "$SOLR_USER:$SOLR_PASSWORD" "http://localhost:8983/solr/admin/collections?action=LIST"
serviceNameTemplate: '{{- .metadata.name -}}'
resource:
group: kubedb.com
kind: Solr
Expand Down
Loading
Loading