- Hands-On Kubernetes on Azure
- Shivakumar Gopalakrishnan Gunther Lenz
- 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.
推薦閱讀
- Word排版技術大全(第2版)
- Getting Started with Simulink
- Office 2016辦公應用從入門到精通
- OpenCV Computer Vision Application Programming Cookbook Second Edition
- Excel財務會計應用
- 高效隨身查:PPT2021必學的美化設計應用技巧(視頻教學版)
- Excel公式與函數應用技巧
- OpenCV Essentials
- Excel 2016高級應用案例教程(視頻指導版)
- Final Cut Pro X基礎培訓教程
- 新編Word/Excel/PPT 2016高效辦公三合一(全彩版)
- 和秋葉一起學WPS Office
- 現用現查:電腦BIOS/注冊表設置實戰秘籍
- Office商務辦公實用教程
- Office 2021辦公應用實戰從入門到精通