New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubectl apply -f kube-flannel.yml fails #1031

SyCode7 opened this Issue Aug 23, 2018 · 2 comments


None yet
3 participants

SyCode7 commented Aug 23, 2018

I am installing a single node of kubernetes on Ubuntu 16. I continuously encounter the error : unable to recognize "": yaml: line 10: mapping values are not allowed in this context

whenever I pass the command:

kubectl apply -f

I have tried several online yaml formatting and there seems to be no problem with the yaml file (kube-flannel.yml).

I am not sure how to proceed to configure flannel for the kubernetes networking.


This comment has been minimized.

atooki commented Sep 26, 2018

@SyCode7 are you logged in as root or a regular user? You will get that problem if logged in as root. (Well I did anyway)


This comment has been minimized.

tejp1002 commented Oct 30, 2018

I am trying to set up a single node Kubernetes Cluster from and getting error dial tcp connect: connection refused
when kubectl apply -f is executed.
I have tried different yml files
but every time it is dial tcp connect: connection refused.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment