戒尺

Results 8 comments of 戒尺

试了 可以访问通 ```bash [root@master1 ~]# kubectl get pod -n kube-system -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES coredns-6d4b75cb6d-knw6f 1/1 Running 2 (6h49m ago) 2d1h...

可以的 正常 ```bash ~ # ping 114.114.114.114 PING 114.114.114.114 (114.114.114.114): 56 data bytes 64 bytes from 114.114.114.114: seq=0 ttl=92 time=12.194 ms 64 bytes from 114.114.114.114: seq=1 ttl=91 time=11.864 ms 64...

每次修改完 /etc/sysctl.d/k8s.conf 重启后又变成原本的内容了 ```bash [root@master1 ~]# cat /etc/sysctl.d/k8s.conf net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 net.ipv4.conf.all.rp_filter=0 ```

没看到相关的参数设置 ```bash [root@master1 ~]# systemctl cat --no-pager kubelet # /etc/systemd/system/kubelet.service [Unit] Description=kubelet: The Kubernetes Node Agent Documentation=http://kubernetes.io/docs/ [Service] ExecStart=/usr/bin/kubelet ExecStartPre=/usr/bin/kubelet-pre-start.sh ExecStopPost=/usr/bin/kubelet-post-stop.sh Restart=always StartLimitInterval=0 RestartSec=10 [Install] WantedBy=multi-user.target # /etc/systemd/system/kubelet.service.d/10-kubeadm.conf # Note:...

改过内核参数了 还是不行 ```bash [root@master1 ~]# cat /etc/sysctl.d/k8s.conf net.ipv4.ip_forward = 1 net.ipv4.tcp_tw_recycle = 1 net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 net.ipv4.conf.all.rp_filter=0 ```

所有信息 ```bash [root@master1 ~]# sysctl --system * Applying /usr/lib/sysctl.d/00-system.conf ... net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 * Applying /usr/lib/sysctl.d/10-default-yama-scope.conf ... * Applying /usr/lib/sysctl.d/50-default.conf ... kernel.sysrq = 16...

We Need You Please go on.

看了一下dev 的端口监听状态 也是没有占用的 是需要做什么转发吗 ![image](https://user-images.githubusercontent.com/20547806/78739661-57df0180-7987-11ea-9155-3bc2356c42a2.png)