書名: Hands-On Kubernetes on Azure作者名: Shivakumar Gopalakrishnan Gunther Lenz本章字數(shù): 131字更新時間: 2021-06-24 15:39:27
Installing WordPress
Run the following command:
helm install stable/wordpress --name handsonaks-wp --set smtpHost=smtp.google.com --set smtpPort=25 --set smtpPassword=abcd1234 --set smtpUser=handsonaks@gmail.com --set smtpUsername=handsonaks --set smtpProtocol=ssl
That's it; Helm goes ahead and installs everything mentioned at https://Kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/.
The command should have been just helm install stable/wordpress --name handsonakswp. The reason for the extra parameters was, at the time of writing, the command did not work without the SMTP settings. For more information visit https://github.com/bitnami/bitnami-docker-wordpress/issues/153#issuecomment-450127531.
How did we figure out smtpPassword was the issue? Hint: it involved kubectl logs. We will go into more detail on monitoring in the next chapter.
How did we figure out smtpPassword was the issue? Hint: it involved kubectl logs. We will go into more detail on monitoring in the next chapter.
It takes some time for Helm to install and the site to come up. We will look into a key concept, Persistent Volume Claims, while the site is loading.
推薦閱讀
- 中文版Rhino 5.0實用教程
- 隨身查:從原始數(shù)據(jù)到完美Excel圖表
- 善用圖表:一看就懂的商業(yè)數(shù)據(jù)表達術(shù)
- Office 2016辦公應(yīng)用從入門到精通
- Word/Excel 2016商務(wù)辦公實戰(zhàn)從新手到高手
- Excel數(shù)據(jù)可視化:從圖表到數(shù)據(jù)大屏
- LoadRunner性能測試巧匠訓(xùn)練營
- Word/Excel/PPT 2016高效辦公實戰(zhàn)從入門到精通
- PowerPoint 2013從入門到精通
- PPT2013制作超級應(yīng)用大全(實戰(zhàn)案例版)
- IT審計:用SQL+Python提升工作效率
- 掌中寶:Office辦公高手應(yīng)用技巧
- Excel高效辦公:公司管理(修訂版)
- 電腦急救完全DIY
- PPT 2016幻燈片設(shè)計與制作從新手到高手