1.kubernetes 安装
2.本地镜像仓库搭建
3.nginx+php-fpm镜像构建
4.mysql镜像构建
5.配置service和stateful
6.启用、测试访问成功
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES image-bar-0 1/1 Running 1 4d12h 10.244.4.17 k8s.worker0 mysql-0 1/1 Running 0 80m 10.244.4.30 k8s.worker0 nginx-0 1/1 Running 0 106s 10.244.4.34 k8s.worker0 nginx-1 1/1 Running 0 101s 10.244.4.35 k8s.worker0
7.其它模块迁入…
0 条评论。