我设置了一个Kubernetes集群以下Kelseys实验室开始:https://github.com/kelseyhightower/kubernetes-the-hard-wayiptables的错误阻止吊舱在Kubernetes
我只设置了一个节点为止。当试图部署波德,下面的错误阻止它入门:
Warning FailedSync Error syncing pod, skipping: failed to "SetupNetwork" for "nginx-3137573019-pjbie_default" with SetupNetworkError: "Failed to setup network for pod \"nginx-3137573019-pjbie_default(b4128fc1-6707-11e6-a8b3-005056a2068d)\" using network plugins \"kubenet\": Failed to execute iptables-restore: exit status 1 (Can't open /tmp/kube-temp-iptables-restore-214792160: Permission denied\n); Skipping pod"
的kubelet以root身份运行。日志中提到的文件也属于根目录。
是Linux系统OEL 7(内核:UEK 4.1.12)
有没有人有一个想法,什么原因可能是,或如何进一步调查?
这奏效了,谢谢! – fischerman