- use kubectl get mysql for list mysql resource
- use kubectl get mysqlbackup for list mysql backup resource
- use kubectl get redis for list redis resource
- use kubectl get proxysql for list proxysql resource
-
mysql.rds.hakurei.cn/v1alpha1
- mysql version
- 5.7.34
- prometheus operator pod monitor
- MGR single primary
- MGR multi primary
- Semi sync replication
- 8.0
- MGR single primary
- MGR multi primary
- Semi sync replication
- 5.7.34
- mysql version
-
mysqlbackup.rds.hakurei.cn/v1alpha1
- logical backup dump sql to s3 server
- physical backup
-
redis.rds.hakurei.cn/v1alpha1
-
- prometheus operator pod monitor
- redis version
- 6.2.5
- redis cluster with predixy
- 6.2.5
-
-
proxysql.rds.hakurei.cn/v1alpha1
- version: 2.x , current 2.2.x 2.3.x supported
- limits
- not support mysql cluster mode changed, such as from semi sync replication to group replication
-
mongo.rds.hakurei.cn/v1alpha1 (in plan)
-
mutating adminssion webhook (in plan)
use kt-connect for development
first of all:
# install crd defines
make gen -j $(nproc)
make install
wsl2:
ktctl connect --method=sock5 # open terminal window, notice : when pod created or deleted, must restart ktctl, otherwise you will see many context exceeded
make dev -j $(nproc) # open new terminal window
make release BRANCH=v0.0.1 PUSH=true -j $(nproc) # example make release
skaffold (recommend with local kubernetes):
make skaffold -j $(nproc)