Kube-proxy pod do not want to initialize

225 views
Skip to first unread message

Grzegorz Panek

unread,
Sep 11, 2018, 9:42:59 AM9/11/18
to Kubernetes user discussion and Q&A
Hello, i'm trying to run latest version of kubernetes v1.12.0-beta.1
Unfortunatelly kube-proxy pod do not want to be running stable, just CrashLoopBackOff  error again and again.


From logs:
kubectl logs kube-proxy-8gs45  -n kube-system
W0911 10:29:19.932277       1 server_others.go:295] Flag proxy-mode="" unknown, assuming iptables proxy
I0911 10:29:19.942554       1 server_others.go:148] Using iptables Proxier.
F0911 10:29:19.942577       1 server.go:361] unable to create proxier: can't set sysctl net/ipv4/conf/all/route_localnet: open /proc/sys/net/ipv4/conf/all/route_localnet: read-only file system

Does anyone had similar problem?

Tim Hockin

unread,
Sep 11, 2018, 11:29:41 AM9/11/18
to Kubernetes user discussion and Q&A
Are you running it with enough privileges?

Can you check it is not this: https://github.com/moby/moby/issues/24000

We have some code to deal with read-only /sys, but maybe it is not
triggering for you...
> --
> You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
> To post to this group, send email to kubernet...@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.

Grzegorz Panek

unread,
Sep 12, 2018, 6:12:55 AM9/12/18
to Kubernetes user discussion and Q&A
Yes, kube-proxy pod is running in privillaged mode, but still problems occured

Tim Hockin

unread,
Sep 12, 2018, 1:28:45 PM9/12/18
to Kubernetes user discussion and Q&A
Did you check that bug?  Is the whole sysfs mounted read-only or just that file?  Can you show me /proc/mounts from the node?

On Wed, Sep 12, 2018, 3:12 AM Grzegorz Panek <grzeg...@gmail.com> wrote:
Yes, kube-proxy pod is running in privillaged mode, but still problems occured

--
Reply all
Reply to author
Forward
0 new messages