rancher mysql部署
Last updated on November 22, 2024 pm
🧙 Questions
mysql
8.0
rancher安装
☄️ Ideas
部署
- Name:
infra-mysql
- Docker Image:
mysql:8.0
- Port Mapping:
- Port Name:
mysql-port
- Publish the container port:
3306
- On listening port:
30102
- Port Name:
- Volumes:
Bind-mount a directory from the node
- vol1:
- Path on the Node:
/data/mysql/data
- Mount Point:
/var/lib/mysql
- Path on the Node:
- vol2:
- Path on the Node:
/data/mysql/conf/my.cnf
- Mount Point:
/etc/mysql/my.cnf
- Path on the Node:
- vol3:
- Path on the Node:
/data/mysql/mysql-files
- Mount Point:
/var/lib/mysql-files
- Path on the Node:
- vol1:
🔗 Links
rancher mysql部署
https://ispong.isxcode.com/kubernetes/rancher/rancher mysql部署/