Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
kubeadm in self-hosted mode (1.6.1) fails to startup scheduler #8
I just did a super fresh install of everything but now hit the following issue with kubeadm 1.6.1
kind: MasterConfiguration apiVersion: kubeadm.k8s.io/v1alpha1 token: "3d63a1.d93b1c68af864b80" networking: podSubnet: "10.1.0.0/16" # serviceSubnet: "10.200.100.0/24" controllerManagerExtraArgs: controllers: "*,-persistentvolume-binder,bootstrapsigner,tokencleaner" horizontal-pod-autoscaler-use-rest-clients: "true" horizontal-pod-autoscaler-sync-period: "10s" node-monitor-grace-period: "10s" apiServerExtraArgs: runtime-config: "api/all=true" feature-gates: "TaintBasedEvictions=true" proxy-client-cert-file: "/etc/kubernetes/pki/front-proxy-client.crt" proxy-client-key-file: "/etc/kubernetes/pki/front-proxy-client.key" selfHosted: true
which indicates that the scheduler pod doesn't come up. And indeed the problem is that the scheduler pod cannot be scheduled:
Looks like a catch-22 ;-)
these are the logs of the Docker container:
Maybe also interesting that there is also a stopped scheduler container these logs:
Actually this is only an issue when running in self-hosted mode. Without
Current status: I'm now back using plain kubeadm 1.6.1 (without your custom hyperkube image) and disabled some features in the config file (like
Now it works, and even weave is happy (because of different machine-ids now).
Now going to try PVs and Ingress (as I guess they don't require your customisations in the adapter hyperkube image ...)
Let me know if I can help further in evaluating the issue with the self-hosted mode.
Known issue. Since the kubelet behaviour changed drastically between beta.4 and rc.1-ish and kubeadm broke fatally as a consequence, we fixed that by breaking self-hosting only in v1.6.1 ;)
It's on my list to do pretty soon, but well, school ;)
As you noted, it will just work fine to disable proxy* and self-hosting if you don't want the API aggregation thing.
Awesome to see you're working on this. When you find flaws, feel free to do a PR as well
Thanks for the info and for your awesome work on kubeadm and kubernetes in general.
np at all, take your time. School is important. still ;-)
'hope to contribute more, still looking around to get a feeling of the project(s). And yes, spare time is an issue here, too :)