应用部署mriadb
kubectl create ns mariadb
mv mariadb mariadb10
tar -zxf mariadb-7.3.14.tgz
cd mariadb
vi values.yaml
service:
## Kubernetes service type, ClusterIP and NodePort are supported at present
type: NodePort
db:
## MariaDB username and password
## ref: https://github.com/bitnami/bitnami-docker-mariadb#creating-a-database-user-on-first-run
##
user: "chinaskillroot"
password: "chinaskillpassword"
## Database to create
## ref: https://github.com/bitnami/bitnami-docker-mariadb#creating-a-database-on-first-run
##
name: chinaskill
persistence:
## If true, use a Persistent Volume Claim, If false, use emptyDir
##
enabled: false
persistence:
## If true, use a Persistent Volume Claim, If false, use emptyDir
##
enabled: false
helm install -n mariadb mariadb .
helm list -A
- 点赞
- 收藏
- 关注作者
评论(0)