Skip to content
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
a76781c
RotateAuth for databases
Bonusree Jul 11, 2025
b943af1
templetize done
Bonusree Jul 11, 2025
1fad893
rotateauth for mariadb
Bonusree Jul 11, 2025
c0d3176
some changes in mariadb
Bonusree Jul 14, 2025
2f99b5d
corrected ci problems
Bonusree Jul 14, 2025
c65c912
rotateauth for druid
Bonusree Jul 15, 2025
68feee7
rotateauth for mssqlserver added
Bonusree Jul 15, 2025
a7e4654
rotateauth for elasticsearch is added
Bonusree Jul 16, 2025
ba81340
rotateauth for pgbouncer
Bonusree Jul 18, 2025
a6b6d25
rotateauth for pgpool
Bonusree Jul 18, 2025
c80c4d5
redis rotate auth
Bonusree Jul 18, 2025
cd7b0b7
rotateauth for solr
Bonusree Jul 21, 2025
498804b
cli issues fixed
Bonusree Jul 21, 2025
20ae4bd
rotateauth for perconaxtradb
Bonusree Jul 21, 2025
92f30db
cli error resolved
Bonusree Jul 23, 2025
8185b1e
remove next step from percona
Bonusree Jul 23, 2025
b1633d0
failover started for mysql
Bonusree Jul 23, 2025
9e18ca8
here is failover for mysql
Bonusree Jul 24, 2025
5339e96
rename index file
Bonusree Jul 28, 2025
2538753
Merge branch 'failover' into rotateauth
Bonusree Jul 28, 2025
94c7008
fixed rotate auth
Bonusree Jul 28, 2025
c3f4898
solr fixed
Bonusree Jul 28, 2025
377b24c
mariadb review resolve
Bonusree Jul 28, 2025
7555a56
resolved review for mariadb
Bonusree Jul 29, 2025
5d50918
weight, rename fixed for all dbs
Bonusree Jul 29, 2025
f8658cd
resolve error druid, elastic, mssql, redis
Bonusree Jul 30, 2025
2533c4d
resolved review of pgpool&pgbouncer, make changes in name
Bonusree Aug 1, 2025
c2b21dc
correct the definition
Bonusree Aug 8, 2025
44bd5c1
resolve mssqlserver
Bonusree Aug 8, 2025
80781a6
ro->rotateauth
Bonusree Aug 12, 2025
269e38f
start ignite
Bonusree Aug 14, 2025
63d7f2c
rabbitmq started
Bonusree Aug 15, 2025
3401525
rabbitmq rotateauth is ready for review
Bonusree Aug 18, 2025
9d396f0
Update petset tag in kubedb-upgrade process
ArnobKumarSaha Jul 11, 2025
eab3fa1
Prepare for release v2025.7.30-rc.0 (#796)
1gtm Aug 2, 2025
1329a42
Prepare for release v2025.7.31 (#799)
1gtm Aug 7, 2025
b12c083
Valkey and External Client Connection (#795)
HiranmoyChowdhury Aug 8, 2025
b3bbfbe
Add Cassandra Doc (#789)
sabbir-hossain70 Aug 8, 2025
b350aba
Add MSSQL Init Database Support via Scripts doc (#797)
Neaj-Morshad-101 Aug 8, 2025
df8d158
Distributed MariaDB (#798)
sheikh-arman Aug 9, 2025
3296d4d
Add maxscale volume expansion doc (#790)
refat75 Aug 11, 2025
a86da3c
Use Go 1.25 (#800)
1gtm Aug 15, 2025
1bfa7b7
mysql rotateauth
Bonusree Aug 20, 2025
5bd18be
try to fix build and mysql
Bonusree Aug 21, 2025
fed8104
resolve link error
Bonusree Aug 21, 2025
ff6f532
resolve review of mysql
Bonusree Aug 21, 2025
d0868f8
resolve url error
Bonusree Aug 21, 2025
b2d9db6
memcached rotateauth added
Bonusree Aug 21, 2025
c882bed
delete the wrong url
Bonusree Aug 22, 2025
614fa58
mysql url error fixed
Bonusree Aug 22, 2025
8a9bf65
change
Bonusree Aug 22, 2025
01ab315
Merge branch 'mariadb-failover' into rotateauth
Bonusree Aug 25, 2025
6c498d9
resolve review memcached rotateauth
Bonusree Aug 25, 2025
f0a3179
try to fix visually
Bonusree Aug 26, 2025
2d892b0
intendation
Bonusree Aug 26, 2025
f8073fc
resolve mysql review 2
Bonusree Aug 27, 2025
b0c5cc9
review & overview added in solr
Bonusree Sep 1, 2025
ab649e5
overview added
Bonusree Sep 2, 2025
1960f08
solr db clean resolve
Bonusree Sep 2, 2025
b06c6fd
ignite started
Bonusree Sep 9, 2025
719c38a
Merge remote-tracking branch 'origin/master' into rotateauth
Bonusree Sep 11, 2025
85fb61e
rotateauth for clickhouse
Bonusree Sep 12, 2025
2dc5dd0
fix unwanted mistakes
Bonusree Sep 15, 2025
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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ jobs:
kubectl create -f https://github.com/fluxcd/helm-controller/raw/main/config/crd/bases/helm.toolkit.fluxcd.io_helmreleases.yaml
kubectl create -f https://github.com/fluxcd/source-controller/raw/main/config/crd/bases/source.toolkit.fluxcd.io_helmrepositories.yaml
kubectl create -f https://github.com/appscode-cloud/catalog/raw/master/crds/catalog.appscode.com_redisbindings.yaml
# distributed crds
kubectl create -f https://github.com/kube-slice/apis/raw/release-v2025.7.31/crd/controller.kubeslice.io_clusters.yaml
kubectl create -f https://github.com/kube-slice/apis/raw/release-v2025.7.31/crd/controller.kubeslice.io_projects.yaml
kubectl create -f https://github.com/kube-slice/apis/raw/release-v2025.7.31/crd/controller.kubeslice.io_sliceconfigs.yaml
kubectl create -f https://github.com/kubeops/petset/raw/master/crds/apps.k8s.appscode.com_placementpolicies.yaml
kubectl create -f https://github.com/open-cluster-management-io/api/raw/main/operator/v1/0000_00_operator.open-cluster-management.io_klusterlets.crd.yaml

- name: Check codespan schema
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.24'
go-version: '1.25'
id: go

- name: Use Node.js
Expand Down
687 changes: 687 additions & 0 deletions docs/CHANGELOG-v2025.7.30-rc.0.md

Large diffs are not rendered by default.

769 changes: 769 additions & 0 deletions docs/CHANGELOG-v2025.7.31.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: kubedb.com/v1alpha2
kind: Cassandra
metadata:
name: cassandra-autoscale
namespace: demo
spec:
version: "5.0.3"
topology:
rack:
- name: r0
replicas: 2
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 600Mi
podTemplate:
spec:
containers:
- name: cassandra
resources:
limits:
memory: 2Gi
cpu: 1000m
requests:
memory: 600Mi
cpu: 500m
deletionPolicy: WipeOut
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: autoscaling.kubedb.com/v1alpha1
kind: CassandraAutoscaler
metadata:
name: cassandra-autoscale-ops
namespace: demo
spec:
databaseRef:
name: cassandra-autoscale
compute:
cassandra:
trigger: "On"
podLifeTimeThreshold: 5m
resourceDiffPercentage: 20
minAllowed:
cpu: 600m
memory: 1.2Gi
maxAllowed:
cpu: 1
memory: 2Gi
controlledResources: ["cpu", "memory"]
containerControlledValues: "RequestsAndLimits"
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: kubedb.com/v1alpha2
kind: Cassandra
metadata:

name: cassandra-autoscale
namespace: demo
spec:
version: 5.0.3
topology:
rack:
- name: r0
replicas: 2
storage:
storageClassName:
longhorn
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 600Mi
storageType: Durable
podTemplate:
spec:
containers:
- name: cassandra
resources:
limits:
memory: 3Gi
cpu: 2
requests:
memory: 1Gi
cpu: 1
deletionPolicy: WipeOut
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: autoscaling.kubedb.com/v1alpha1
kind: CassandraAutoscaler
metadata:
name: cassandra-storage-autoscaler
namespace: demo
spec:
databaseRef:
name: cassandra-autoscale
storage:
cassandra:
trigger: "On"
usageThreshold: 20
scalingThreshold: 100
expansionMode: "Offline"
21 changes: 21 additions & 0 deletions docs/examples/cassandra/configuration/cassandra-config-file.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: kubedb.com/v1alpha2
kind: Cassandra
metadata:
name: cas-custom-config
namespace: demo
spec:
version: 5.0.3
configSecret:
name: cas-configuration
topology:
rack:
- name: r0
replicas: 2
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageType: Durable
deletionPolicy: WipeOut
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: prometheus-config
labels:
app: prometheus-demo
namespace: monitoring
data:
prometheus.yml: |-
global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: 'kubedb-databases'
honor_labels: true
scheme: http
kubernetes_sd_configs:
- role: endpoints
# by default Prometheus server select all Kubernetes services as possible target.
# relabel_config is used to filter only desired endpoints
relabel_configs:
# keep only those services that has "prometheus.io/scrape","prometheus.io/path" and "prometheus.io/port" anootations
- source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape, __meta_kubernetes_service_annotation_prometheus_io_port]
separator: ;
regex: true;(.*)
action: keep
# currently KubeDB supported databases uses only "http" scheme to export metrics. so, drop any service that uses "https" scheme.
- source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scheme]
action: drop
regex: https
# only keep the stats services created by KubeDB for monitoring purpose which has "-stats" suffix
- source_labels: [__meta_kubernetes_service_name]
separator: ;
regex: (.*-stats)
action: keep
# service created by KubeDB will have "app.kubernetes.io/name" and "app.kubernetes.io/instance" annotations. keep only those services that have these annotations.
- source_labels: [__meta_kubernetes_service_label_app_kubernetes_io_name]
separator: ;
regex: (.*)
action: keep
# read the metric path from "prometheus.io/path: <path>" annotation
- source_labels: [__meta_kubernetes_service_annotation_prometheus_io_path]
action: replace
target_label: __metrics_path__
regex: (.+)
# read the port from "prometheus.io/port: <port>" annotation and update scraping address accordingly
- source_labels: [__address__, __meta_kubernetes_service_annotation_prometheus_io_port]
action: replace
target_label: __address__
regex: ([^:]+)(?::\d+)?;(\d+)
replacement: $1:$2
# add service namespace as label to the scraped metrics
- source_labels: [__meta_kubernetes_namespace]
separator: ;
regex: (.*)
target_label: namespace
replacement: $1
action: replace
# add service name as a label to the scraped metrics
- source_labels: [__meta_kubernetes_service_name]
separator: ;
regex: (.*)
target_label: service
replacement: $1
action: replace
# add stats service's labels to the scraped metrics
- action: labelmap
regex: __meta_kubernetes_service_label_(.+)
38 changes: 38 additions & 0 deletions docs/examples/cassandra/monitoring/cas-with-monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: kubedb.com/v1alpha2
kind: Cassandra
metadata:
name: cassandra-prod
namespace: demo
spec:
version: 5.0.3
configuration:
topology:
rack:
- name: r0
replicas: 2
podTemplate:
spec:
containers:
- name: cassandra
resources:
limits:
memory: 2Gi
cpu: 2
requests:
memory: 1Gi
cpu: 1
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageType: Durable
deletionPolicy: WipeOut
monitor:
agent: "prometheus.io/operator"
prometheus:
serviceMonitor:
labels:
release: prometheus
interval: 10s
38 changes: 38 additions & 0 deletions docs/examples/cassandra/monitoring/cassandra-builtin-prom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: kubedb.com/v1alpha2
kind: Cassandra
metadata:
name: cassandra-builtin-prom
namespace: demo
spec:
version: 5.0.3
configuration:
topology:
rack:
- name: r0
replicas: 2
podTemplate:
spec:
containers:
- name: cassandra
resources:
limits:
memory: 2Gi
cpu: 2
requests:
memory: 1Gi
cpu: 1
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageType: Durable
deletionPolicy: WipeOut
monitor:
agent: "prometheus.io/builtin"
prometheus:
serviceMonitor:
labels:
release: prometheus
interval: 10s
18 changes: 18 additions & 0 deletions docs/examples/cassandra/quickstart/cassandra-quickstart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: kubedb.com/v1alpha2
kind: Cassandra
metadata:
name: cassandra-quickstart
namespace: demo
spec:
version: 5.0.3
topology:
rack:
- name: r0
replicas: 2
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 600Mi
deletionPolicy: Delete
11 changes: 11 additions & 0 deletions docs/examples/cassandra/reconfigure-tls/casops-remove.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: CassandraOpsRequest
metadata:
name: casops-remove
namespace: demo
spec:
type: ReconfigureTLS
databaseRef:
name: cassandra-prod
tls:
remove: true
11 changes: 11 additions & 0 deletions docs/examples/cassandra/reconfigure-tls/casops-rotate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: CassandraOpsRequest
metadata:
name: casops-rotate
namespace: demo
spec:
type: ReconfigureTLS
databaseRef:
name: cassandra-prod
tls:
rotateCertificates: true
23 changes: 23 additions & 0 deletions docs/examples/cassandra/reconfigure-tls/cassandra-add-tls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: CassandraOpsRequest
metadata:
name: casops-add-tls
namespace: demo
spec:
type: ReconfigureTLS
databaseRef:
name: cassandra-prod
tls:
issuerRef:
name: cas-issuer
kind: Issuer
apiGroup: "cert-manager.io"
certificates:
- alias: client
subject:
organizations:
- cassandra
organizationalUnits:
- client
timeout: 5m
apply: IfReady
8 changes: 8 additions & 0 deletions docs/examples/cassandra/reconfigure-tls/cassandra-issuer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: cas-issuer
namespace: demo
spec:
ca:
secretName: cassandra-ca
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: cas-new-issuer
namespace: demo
spec:
ca:
secretName: cassandra-new-ca
Loading
Loading