上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 164 下一页

2021年6月23日

摘要: root@ubuntu:~# kubectl logs -f calico-node-2l47s -n kube-system 2021-06-23 07:04:14.117 [INFO][10] startup/startup.go 390: Early log level set to info 阅读全文
posted @ 2021-06-23 15:15 tycoon3 阅读(1142) 评论(0) 推荐(0)
摘要: [root@localhost ~]# kubeadm join 10.10.16.82:6443 --token qpqoq3.y2lo787xtima2xaz --discovery-token-ca-cert-hash sha256:374990d65ea0b1dd227fe68aa994fa 阅读全文
posted @ 2021-06-23 15:05 tycoon3 阅读(1853) 评论(0) 推荐(0)

2021年6月22日

摘要: 1. 概述 作为 Kubernetes 最长使用的一种网络插件,Calico 具有很强的扩展性,较优的资源利用和较少的依赖,相较于 Flannel 插件采用 Overlay 的网络,Calico 可以通过三层路由的方式采用性能更佳的 Underlay 网络,Calico 网络插件的转发效率是所有方案 阅读全文
posted @ 2021-06-22 17:44 tycoon3 阅读(581) 评论(0) 推荐(1)
摘要: bgp peer 查看状态 calicoctl node status 配置全局 bgp peer(rr) cat << EOF | calicoctl create -f - apiVersion: projectcalico.org/v3 kind: BGPPeer metadata: name 阅读全文
posted @ 2021-06-22 16:56 tycoon3 阅读(1247) 评论(0) 推荐(0)
摘要: Calico Overlay网络 在Calico Overlay网络中有两种模式可选(仅支持IPV4地址) IP-in-IP (使用BGP实现) Vxlan (不使用BGP实现) 两种模式均支持如下参数 Always: 永远进行 IPIP 封装(默认) CrossSubnet: 只在跨网段时才进行 阅读全文
posted @ 2021-06-22 10:20 tycoon3 阅读(1228) 评论(0) 推荐(0)

2021年6月21日

摘要: root@cloud:~# tcpdump -i enahisic2i0 "ip proto 4" and host 10.10.16.82 -ennvv tcpdump: listening on enahisic2i0, link-type EN10MB (Ethernet), capture 阅读全文
posted @ 2021-06-21 16:11 tycoon3 阅读(346) 评论(0) 推荐(0)
摘要: root@ubuntu:~# cat web-anti-affinity.yaml apiVersion: apps/v1 kind: Deployment metadata: name: web-nginx spec: selector: matchLabels: app: web-nginx r 阅读全文
posted @ 2021-06-21 15:45 tycoon3 阅读(4388) 评论(0) 推荐(0)
摘要: root@ubuntu:~# kubectl get pod --all-namespaces -o wide NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES kube-system ca 阅读全文
posted @ 2021-06-21 14:43 tycoon3 阅读(240) 评论(0) 推荐(0)

2021年6月18日

摘要: K8s API Server的鉴权问题由来已久。默认情况下K8s API Server会开启两个端口:8080(Localhost Port)和 6443(Secure Port),其中8080端口为WEB UI Dashboard,无需认证,用于本地测试与监控;6443端口需要认证且有TLS保护, 阅读全文
posted @ 2021-06-18 18:55 tycoon3 阅读(2860) 评论(0) 推荐(0)
摘要: root@ubuntu:~# kubectl delete -f kube-flannel.yml podsecuritypolicy.policy "psp.flannel.unprivileged" deleted clusterrole.rbac.authorization.k8s.io "f 阅读全文
posted @ 2021-06-18 17:03 tycoon3 阅读(815) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 164 下一页

导航