init commit (#1) init commit Signed-off-by: yxxhero aiopsclub@163.com
init commit (#1)
Signed-off-by: yxxhero aiopsclub@163.com
This project is a deployment tool for Dragonfly, used to quickly deploy Dragonfly projects.
MySQL Operator Deployment
# environments/dev/base.yaml.gotmpl install: mysql_operator: true helmfile -f helmfile.yaml -e dev sync
MySQL InnoDB Cluster Deployment ```shell
install: mysql_innodbcluster_d7y: true helmfile -f helmfile.yaml -e dev sync
kubectl port-forward -n mysql-innodbcluster-d7y service/mysql-innodbcluster-d7y 3306 mysql -h127.0.0.1 -udragonfly -p CREATE DATABASE manager CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
3. Redis Sentinel Deployments ```shell # environments/dev/base.yaml.gotmpl install: d7y_redis_sentinel: true helmfile -f helmfile.yaml -e dev sync
Dragonfly Deployment
# environments/dev/base.yaml.gotmpl install: d7y_system: true helmfile -f helmfile.yaml -e dev sync
Dragonfly update ```shell
helmfile -f helmfile.yaml -e dev diff
helmfile -f helmfile.yaml -e dev sync ```
Dragonfly DevOps
Introduction
This project is a deployment tool for Dragonfly, used to quickly deploy Dragonfly projects.
Dependencies
Dragonfly Deployment
Ensure the configuration in environments/dev/ meets the requirements, then execute the following commands
MySQL Operator Deployment
MySQL InnoDB Cluster Deployment ```shell
environments/dev/base.yaml.gotmpl
install: mysql_innodbcluster_d7y: true helmfile -f helmfile.yaml -e dev sync
mysql-innodbcluster-d7y
kubectl port-forward -n mysql-innodbcluster-d7y service/mysql-innodbcluster-d7y 3306 mysql -h127.0.0.1 -udragonfly -p CREATE DATABASE manager CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Dragonfly Deployment
Dragonfly update ```shell
diff will show the difference between the current state and the desired state
helmfile -f helmfile.yaml -e dev diff
sync will update the current state to the desired state
helmfile -f helmfile.yaml -e dev sync ```