Kubernetes
文章平均质量分 66
nameLessor
这个作者很懒,什么都没留下…
展开
-
Ubuntu 18.04 虚拟机组建k8s集群(一主一从)
1、准备工作// 关闭交换空间:swapoff -a // 临时关闭vi /etc/fstab // 永久关闭/*用#号 屏蔽掉 swap 那一行*/// 主机名等在虚拟机创建时已经设置完毕hostnamectl set-hostname k8s-master// 设置hosts地址解析vim /etc/hosts192.168.253.8 k8s-master192.168.253.11 k8s-node01192.168.253.12 k8s-node02192.168原创 2021-10-06 11:22:54 · 591 阅读 · 0 评论 -
树莓派4B Ubuntu1804 构建K8s技术方案
树莓派4B Ubuntu1804 构建K8s技术方案说明:该方案基于树莓派镜像:raspi4b_k8s_init_mini.img硬件版本:树莓派4b,4G版本,预装ubuntu-18.04.5-preinstalled-server-arm64+raspi4.img.xz该镜像已安装docker 18.09.9,Cgroup Driver: systemd,Storage Driver: overlay2,并设置 apt-mark hold docker-ce docker-ce-cli con原创 2020-12-27 11:59:32 · 1268 阅读 · 0 评论 -
k8s集群重启后,kubelet无法启动
问题描述:异常排除过程:重启master节点后,执行:root@k8s-master:~/k8sYamlFile# kubectl get node输出:The connection to the server 192.168.253.8:6443 was refused - did you specify the right host or port?检查netstat -ntp,发现6443服务并未开启,判断kubectl服务异常使用systemctl status kubelet.ser原创 2021-05-12 13:39:08 · 7138 阅读 · 2 评论