Skip to main content

deploy a workload

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