已安装kubernetes和helm

安装bitnami chats

1
helm repo add bitnami https://charts.bitnami.com/bitnami

安装Mysql

1
2
3
4
5
# 设置 
# root密码为cnplat
# 初始化数据库dev 
# 账号dev 密码dev
helm install up-mysql --set auth.rootPassword=cnplat,auth.database=dev,auth.username=dev,auth.password=dev bitnami/mysql

安装phpmyadmin

1
2
# 已NodePort暴露, 请查询具体端口访问
helm install my-phpmyadmin --set service.type=NodePort  bitnami/phpmyadmin