Kubernetes on AWS: “Error: unknown flag: --config”

0 votes

I've set up a Kubernetes cluster on AWS using kube-aws, but when the cluster is started, all my proxy and dashboard pods keep crashing into CrashLoopBackoff. When I run kubectl logs on the pod, I get this error:

$ kubectl logs kube-proxy-7svvr -n kube-system
Error: unknown flag: --config

Where am I going wrong?

Oct 4, 2018 in Kubernetes by lina
• 8,110 points
170 views

2 answers to this question.

0 votes
What version on kube-aws are you running?
answered Oct 4, 2018 by Kalgi
• 40,460 points
Yes, i think I'm running an old version pf kube-aws. How do I update it to the newer version?
0 votes

Update the cluster.yaml, changing the line

kubernetesVersion: v1.6.6_coreos.1

to

kubernetesVersion: v1.7.10_coreos.0

Should do your work.

answered Oct 4, 2018 by Kalgi
• 40,460 points

Related Questions In Kubernetes

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 40,460 points
61 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

NoSuchBucket error when running Kubernetes on AWS

It was a bug on their part. ...READ MORE

answered Sep 4, 2018 in Kubernetes by Nilesh
• 6,880 points
37 views
0 votes
1 answer

Installing Kubernetes on aws gives an error

seems like you are missing region. Try ...READ MORE

answered Oct 4, 2018 in Kubernetes by Kalgi
• 40,460 points
29 views