![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
k8s
文章平均质量分 94
小纯洁.
既不想上班又想躺着数钱..
展开
-
k8s-v1.19.1 搭建dashboard
#一键搭建 端口:32000 主机:masterkubectl apply -fhttps://gitee.com/zmhcode/k8s-config/raw/master/dashboard.yaml#也可以下载后 修改端口 以及部署主机 , 执行创建kubectl create -f dashboard.yaml#显示running表示正常kubectl get pod -A#创建服务帐户 如果报错提示已存在,没有关系,继续下一步kubectl create ...原创 2020-10-21 11:38:23 · 1104 阅读 · 2 评论 -
k8s-v1.19.1 的Centos7.x下搭建
基于centos7所有主机设置/etc/hosts#关闭swapoffswapoff -a #临时sed -ri 's/.*swap.*/#&/' /etc/fstab #永久#关闭防火墙systemctl stop firewalld systemctl disable firewalld#时间同步systemctl start chronyd.servicesystemctl enable chronyd.servicecp /usr/share/zo原创 2020-10-21 11:18:36 · 475 阅读 · 2 评论