Skip to content

Commit

Permalink
Introduce autoscalers; Add missing dbs; Fix for pgbouncer (#449)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <[email protected]>
  • Loading branch information
ArnobKumarSaha authored Jul 27, 2024
1 parent 3c70c57 commit af48027
Show file tree
Hide file tree
Showing 41 changed files with 3,351 additions and 633 deletions.
27 changes: 27 additions & 0 deletions hub/menuoutlines/ace/kubedb-accordion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ spec:
type:
group: kubedb.com
kind: MariaDB
- featureMode: GA
layoutName: kubedb.com-v1-memcacheds-kubedb
name: Memcached
required: true
type:
group: kubedb.com
kind: Memcached
- featureMode: GA
layoutName: kubedb.com-v1-mongodbs-kubedb
name: MongoDB
Expand All @@ -49,6 +56,20 @@ spec:
type:
group: kubedb.com
kind: MySQL
- featureMode: GA
layoutName: kubedb.com-v1-perconaxtradbs-kubedb
name: PerconaXtraDB
required: true
type:
group: kubedb.com
kind: PerconaXtraDB
- featureMode: GA
layoutName: kubedb.com-v1-pgbouncers-kubedb
name: PgBouncer
required: true
type:
group: kubedb.com
kind: PgBouncer
- featureMode: GA
layoutName: kubedb.com-v1-postgreses-kubedb
name: PostgreSQL
Expand All @@ -69,6 +90,12 @@ spec:
type:
group: kubedb.com
kind: Redis
- featureMode: ALPHA
layoutName: kubedb.com-v1alpha2-clickhouses-kubedb
name: ClickHouse
type:
group: kubedb.com
kind: ClickHouse
- featureMode: ALPHA
layoutName: kubedb.com-v1alpha2-druids-kubedb
name: Druid
Expand Down
27 changes: 27 additions & 0 deletions hub/menuoutlines/ace/kubedb-gallery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ spec:
type:
group: kubedb.com
kind: MariaDB
- featureMode: GA
layoutName: kubedb.com-v1-memcacheds-kubedb
name: Memcached
required: true
type:
group: kubedb.com
kind: Memcached
- featureMode: GA
layoutName: kubedb.com-v1-mongodbs-kubedb
name: MongoDB
Expand All @@ -49,6 +56,20 @@ spec:
type:
group: kubedb.com
kind: MySQL
- featureMode: GA
layoutName: kubedb.com-v1-perconaxtradbs-kubedb
name: PerconaXtraDB
required: true
type:
group: kubedb.com
kind: PerconaXtraDB
- featureMode: GA
layoutName: kubedb.com-v1-pgbouncers-kubedb
name: PgBouncer
required: true
type:
group: kubedb.com
kind: PgBouncer
- featureMode: GA
layoutName: kubedb.com-v1-postgreses-kubedb
name: PostgreSQL
Expand All @@ -69,6 +90,12 @@ spec:
type:
group: kubedb.com
kind: Redis
- featureMode: ALPHA
layoutName: kubedb.com-v1alpha2-clickhouses-kubedb
name: ClickHouse
type:
group: kubedb.com
kind: ClickHouse
- featureMode: ALPHA
layoutName: kubedb.com-v1alpha2-druids-kubedb
name: Druid
Expand Down
106 changes: 106 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1/elasticsearches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
creationTimestamp: null
labels:
k8s.io/group: kubedb.com
k8s.io/kind: Elasticsearch
k8s.io/resource: elasticsearches
k8s.io/version: v1
name: kubedb.com-v1-elasticsearches
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: Elasticsearch Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: ElasticsearchVersion
- 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: Elasticsearch
name: elasticsearches
scope: Namespaced
version: v1
106 changes: 106 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1/kafkas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
creationTimestamp: null
labels:
k8s.io/group: kubedb.com
k8s.io/kind: Kafka
k8s.io/resource: kafkas
k8s.io/version: v1
name: kubedb.com-v1-kafkas
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: Kafka Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: KafkaVersion
- 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: Kafka
name: kafkas
scope: Namespaced
version: v1
Loading

0 comments on commit af48027

Please sign in to comment.