Controller-manager set to use cluster+host DNS results in non-functional cluster #1039
Comments
CoreOS and Bootkube are pratically deprecated. You should migrate to kubeadm. It's production ready and supports multi-master as well. |
I feel like that is a bit of an unfair characterization, but to be fair - I have been less active here (although I did finally get around to merging 1.13 manifests a couple days ago). However, I do largely rely on folks in the community to help on support (and thanks!). Also, Bootkube is meant as a fairly simple bootstrapping tool - it is not meant to be a canonical source for production manifests. The manifests contained in this repo are for testing and demonstration purposes. For an example of a project that is more fully-featured / launches production clusters (and uses Bootkube) see https://typhoon.psdn.io As far as Container Linux support, see https://coreos.com/blog/fedora-coreos-red-hat-coreos-and-future-container-linux for some more details. Regarding your original question @kh34: It would seem odd that a non-cluster domain could not be resolved unless CoreDNS was running. It has been a while since I've looked, but the search domain that ends up in /etc/resolv.conf (I thought) should only point at the cluster resolver for in-cluster domains? If someone has a chance to dig further into this - happy to take a look / merge PR if it's a more preferred direction (but also not seeing this same behavior on our CI clusters which are launched in AWS). |
Checking on this, bootkube examples generate controller-manager with
That's fine for default cloud agnostic clusters. Adding
After that tweak, I should caution that, |
Aside: kubeadm has declared they are not interested in supporting a number of use cases (the linked example was control plane on arm). Unless/until the kubeadm subproject shifts to being all-inclusive then I don't feel that "drop all other installers" is a reasonable proposition for the kubernetes project as a whole. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Running self-hosted Kubernetes on AWS ec2 with cloud-provider=aws enabled.
The controller manager never starts properly:
Which I believe is due to a cyclical dependency with coredns:
Coredns endpoint cannot be created without Controller-manager starting up, and Controller-manager cannot start without coredns endpoint.
I've tested out reverting this #629 and it does seem to resolve the issue. Please consider reverting this change or providing a workaround.
The text was updated successfully, but these errors were encountered: