目的
基于k8s集群做mysql应用搭建练习。
以下实验可以基于我其他文档搭建的k8s集群来进行。
参考文档
检查集群状态
root@kmaster1:~# kubectl get nodes
NAME STATUS ROLES AGE VERSION
kmaster1 Ready control-plane 9d v1.28.0
kmaster2 Ready control-plane 9d v1.28.0
kmaster3 Ready control-plane 9d v1.28.0
knode1 Ready <none> 9d v1.28.0
knode2 Ready <non

本文详细描述了如何在已搭建的k8s集群中,使用yaml配置文件创建PersistentVolume、PersistentVolumeClaim、Service和Deployment来部署MySQL单节点服务,包括各组件的作用和操作步骤。
最低0.47元/天 解锁文章
1426

被折叠的 条评论
为什么被折叠?



