![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Kubernetes
VampireWeekend
I want my dreams to rescue me
展开
-
使用curl直接访问Kubernetes apiServer
首先,运行kubectl proxy命令让apiServer在本地端口运行:ubuntu@perf-calico-0:~$ kubectl proxy --port=8080 &[1] 19016Starting to serve on 127.0.0.1:8080用-v参数可以查看某个kubectl命令的详细日志,从而找到某个api的http方法url:ubuntu@perf-calico-0:~$ kbctl apply -f np -v 7I1222 03:47:46.38230原创 2020-12-22 11:54:50 · 738 阅读 · 0 评论 -
Ubuntu下解决calico/node is not ready: Error querying BIRD: BIRD is not ready: BGP not established
今天搭建kubernetes集群,使用calico作为CNI,但是发现pod一直没有初始化:ubuntu@perf-test-0:~/yiwei/performance_test$ kbctl get pod -ANAMESPACE NAME READY STATUS RESTARTS AGEkube-system calico-kube-controllers-676c4cbdf-原创 2020-11-15 23:25:39 · 6069 阅读 · 0 评论 -
Docker Pull设置代理解决Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection
今天搭建k8s集群时,发现一系列k8s.gcr.io的镜像无法pull:-<%>- docker pull k8s.gcr.io/kube-proxyUsing default tag: latestError response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awai原创 2020-11-09 12:12:32 · 9811 阅读 · 4 评论