rights reserved. $ helm search mariadb NAME CHART VERSION APP VERSION DESCRIPTION stable/mariadb 4.2.7 10.1.34 Fast, reliable, scalable, and easy to use open-... stable/phpmyadmin 0.1.7 4.8.2 phpMyAdmin is an mysql administration frontend $ helm install stable/mariadb --name demo -f env.yaml env.yaml env.yamlでチャート内のデフォルトの値・設定を変更
get all NAME READY STATUS RESTARTS AGE pod/demo-mariadb-0 0/1 Running 0 19s NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/demo-mariadb NodePort 10.43.103.122 <none> 30001:31809/TCP 19s service/kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 35d $ mysql -h 127.0.0.1 -P 31809 -u root –p Enter password: Welcome to the MySQL monitor. ~~~~中略~~~~ trademarks of their respective owners. Type 'help;' or '¥h' for help. Type '¥c' to clear the current input statement. mysql> exit; (※ 発表後追記) 資料末尾に追記事項あり
get all NAME READY STATUS RESTARTS AGE pod/demo-mariadb-0 0/1 Running 0 19s NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/demo-mariadb NodePort 10.43.103.122 <none> 30001:31809/TCP 19s service/kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 35d $ mysql -h 127.0.0.1 -P 31809 -u root –p Enter password: Welcome to the MySQL monitor. ~~~~中略~~~~ trademarks of their respective owners. Type 'help;' or '¥h' for help. Type '¥c' to clear the current input statement. mysql> exit; 少々面倒ながらも、MariaDBを 立ち上げることができた。 (aptやyumのようにコマンドを叩くだけでというわけにはいかない)