卸载kubeadm安装的K8s集群

重置Kubeadm

kubeadm reset -f

删除docker无用的镜像容器

docker system prune -f

清空iptables规则

iptables -t nat -F 
iptables -t nat -X 
iptables -t nat -P PREROUTING ACCEPT 
iptables -t nat -P POSTROUTING ACCEPT 
iptables -t nat -P OUTPUT ACCEPT 
iptables -t mangle -F 
iptables -t mangle -X 
iptables -t mangle -P PREROUTING ACCEPT 
iptables -t mangle -P INPUT ACCEPT 
iptables -t mangle -P FORWARD ACCEPT 
iptables -t mangle -P OUTPUT ACCEPT 
iptables -t mangle -P POSTROUTING ACCEPT 
iptables -F 
iptables -X 
iptables -P FORWARD ACCEPT 
iptables -P INPUT ACCEPT 
iptables -P OUTPUT ACCEPT 
iptables -t raw -F 
iptables -t raw -X 
iptables -t raw -P PREROUTING ACCEPT 
iptables -t raw -P OUTPUT ACCEPT 
<p> Kubernetes<span>,简称</span>K8S<span>,是一个开源,用于管理多个容器化的应用,提供了应用部署,规划,更新维护的一种机制。</span> </p> <p> <br /></p> <p> <strong><span>学习要求:</span></strong> </p> <p> <span><span>本课程学习需要具有一定的</span>Linux<span>基础,并掌握</span>Docker<span>相关知识点。</span></span> </p> <p> <br /></p> <p> <strong><span>知识讲解:</span></strong> </p> <p> <span><span>主要讲解</span>K8S<span>以下几个方面:</span></span> </p> <p> <span>1.<span>      </span>K8S Pod<span>相关知识</span></span> </p> <p> <span>2.<span>      </span>K8S <span>控制器详解</span></span> </p> <p> <span>3.<span>      </span>K8S <span>服务、</span>Ingress<span>和</span>Metallb</span> </p> <p> <span>4.<span>      </span>K8S<span>的安全及用户管理</span></span> </p> <p> <span>5.<span>      </span>K8S<span>持久化存储</span></span> </p> <p> <span><span><br /></span></span> </p> <p> <img src="https://img-bss.csdn.net/202002180250175728.png" alt="" /></p> <p> <br /></p> <p> <strong>课件插图:</strong> </p> <p> <br /></p> <p> <img src="https://img-bss.csdn.net/202002180250444385.png" alt="" /></p> <p> <br /></p> <p> <strong><span>更多</span>K8S<span>课程:</span></strong> </p> <p> <span>-<span style="font-size:9px;">  </span></span>Kubernetes(k8s2020)<span>从入门到实践(</span>1<span>)</span> </p> <p> <span>-<span style="font-size:9px;">  </span></span>Kubernetes(k8s2020)<span>从入门到实践(</span>3<span>)</span> </p> <div> <br /></div>
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页