-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
DNS Controller Optional #3822
DNS Controller Optional #3822
Conversation
So I agree, and I'm very happy that we're gradually breaking kops into its component parts as we build up our capabilities. As you say - kops no longer requires a DNS controller, we could just make it a addon, and we already have alternative implementations for it. A lot of it was necessarily tightly bound in the early days, but I would love to see e.g. etcd-management, addon-management, infrastruture/machine-management, node-management and version-management that kops does today all separable, with the current kops implementations as just one choice of implementation. (cc @bgrant0607 and @roberthbailey for the direction) Quibbles about naming (because it's the API):
I think given the third concerns, the KISS option here of |
This is for a DNS name for the master, apps in the cluster, or both? |
The current implementation requires enforces a dns-controller is running; given the user can switch the make the kube-apiserver server Internal and then reuse the dns for the masterInternalName; this effectlively removes the need to run the service (assuming your not using it for pods, node and service dns) - adding a disableDnsController to the ExternalDNS spec provides a toggle on the addon (name is definitely up for debate) - the default behaviour remains, the dns-controller is always pushed as an addon
1bab501
to
4816ed5
Compare
hi @justinsb ... sorry for the delay on this one ... Yes, I agree on the disable flag, the controller: none is interesting, i kinda like the idea of moving all the addons to a central API location rather than having them scattered though... I know @chrislovecnm was speaking about looking at the addon-manager ..
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@bgrant0607 this controller handles dns for many different components. It’s primary use case is creating a dns record for the api server. kops can utilize route53, google dns or coredns to register dns records. It is using the code in k/k from federation, if I remember. It will also handle cloud dns for nodes, services, and ingress https://github.com/kubernetes/kops/blob/master/dns-controller/README.md |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
The current implementation enforces a dns-controller is running; given the user can switch the make the kube-apiserver server Internal and then reuse the dns for the masterInternalName; this effectlively removes the need to run the service (assuming your not using it for pods, node and service dns)