06 2020 档案
摘要:kubernetes资源监控 1. 查看集群资源状况 ·k8s集群的master节点一般不会跑业务容器· kubectl get cs #查看master资源状态 kubectl get node #查看节点 kubectl cluster-info #查看集群状态 kubectl describe
阅读全文
摘要:k8s的两种网络方案与多种工作模式 1. Flannel: flannel有三种工作模式: 1. vxlan(隧道方案) 2. host-gw(路由方案) 2. udp(在用户态实现的数据封装解封装,由于性能较差已经被弃用) vxlan模式: vxlan模式会在当前服务器中创建一个cni0的网桥,和
阅读全文
摘要:curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo && \ yum clean all &&\ yum install -y wget gcc gcc-c++ automake
阅读全文