install-mariadb-in-rancher

deploy a workload

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
configs:

name:
mysql
docker image
mariadb:10.6.0

MYSQL_ROOT_PASSWORD
it's a secret

volumes
path on the node:
/var/michael/rancher/mariadb
Mount point:
/var/lib/mysql

The Path on the Node must be A directory,or create if it does not exist

lanch

like this