K8S白话之安装Mysql和phpmyadmin
已安装kubernetes和helm
安装bitnami
chats
helm repo add bitnami https://charts.bitnami.com/bitnami
安装Mysql
# 设置
# 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
# 已NodePort暴露, 请查询具体端口访问
helm install my-phpmyadmin --set service.type=NodePort bitnami/phpmyadmin