-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add --master-public-name argument to kops create_cluster #3385
Add --master-public-name argument to kops create_cluster #3385
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Assign the PR to them by writing 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 |
Hi @mdavidsen. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. 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. I understand the commands that are listed here. |
/assign @zmerlynn |
So this is great - I just want to look more at the use case, because we do we want to support pointing a real name at a cluster using gossip DNS, but I wonder if we should also support doing a real TLS certificate (whether LetsEncrypt or externally issued). One way to do that might be to put it into the So I'm going to try to look at this in 1.8, and likely merge this - thank you! BTW if you haven't seen it, we now have an extension mechanism for short-circuiting the Anyway, if you wanted to add an override field in there I would merge that immediately ( |
Ah, didn't realize this was for a gossip cluster. Either way, I think if we allow setting a field named like this, it should work for all cases (private/public/gossip) and manage DNS entries appropriately, which is why I said we need #1919 to work first. |
@mdavidsen PR needs rebase |
Hi,
As outlined in #3384 I've created the following patch, and would like to get some feedback.
This PR exposes the MasterPublicName from ClusterSpec (pkg/apis/kops/cluster.go) to cmd/kops/create_cluster.go. This solves the issues mentioned in #3384
The changes are minimal and should not break anything as far as I can tell.