https://coding.net/u/aminglinux/p/k8s_discuz/git/tree/master
按照文檔操做注意的幾點
1.node 須要yum -y install nfs-utilsphp
2.showmount -e nfsipnode
3.鏡像地址要改爲本身harbor的地址mysql
4.最後安裝的界面上,有個localhost地址要改爲172.254.60.132
[root@master nginx_php]# kubectl get svc dz-mysql -o wide
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
dz-mysql ClusterIP 172.254.60.132 <none> 3306/TCP 15m app=discuz,tier=mysql
[root@master nginx_php]# mysql -uroot -h172.254.60.132 -p 3306linux
5.做者讓外部訪問是經過nginx作的,相似nodeportnginx
6.pod如何中止或者說掛載的數據如何備份?git