官术网_书友最值得收藏!

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.

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.

主站蜘蛛池模板: 饶河县| 铁力市| 清徐县| 边坝县| 容城县| 峡江县| 平泉县| 绥化市| 宁波市| 吉隆县| 梁平县| 望谟县| 临沭县| 保康县| 凉城县| 化德县| 兴宁市| 宜丰县| 苍溪县| 洪洞县| 邵阳市| 榆林市| 德令哈市| 阳山县| 丁青县| 安塞县| 鄂伦春自治旗| 南昌市| 沅江市| 汉川市| 德保县| 麻城市| 沭阳县| 桐城市| 东丽区| 大英县| 黄冈市| 龙江县| 安新县| 长葛市| 华安县|