I have spent the past week to try building “Kubernetes on Mesos
” following Getting started with Kubernetes on Mesos document, but “kubectl get node
” always reports the node state is not ready:
$ kubectl get node
NAME LABELS STATUS AGE
ubuntu kubernetes.io/hostname=ubuntu NotReady 4h
Today, when executing “./bin/mesos-slave.sh --master=127.0.0.1:5050
” command, I notice this log:
W1217 05:52:42.213497 24074 backend.cpp:50] Failed to create 'bind' backend: BindBackend requires root privileges
So I use sudo
command to run the ./bin/mesos-slave.sh
script again, then the “Kubernetes on Mesos
” runs successfully: