-
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
Feature request: Add --master-public-name as a parameter to kops #3384
Comments
Shouldn't kops update fix the cert? That would allow a users to either do an edit or use manifests to create the cluster. |
Definitively, but I'm not sure what other complications that could occur if you start updating those certificates during production. From what I understand right now at least, the certificates are only updated during provisioning of the master/node, I am correct? Is there a reliable way of updating the certificates on the masters during production currently? I absolutely think this something that should be fixed, but I also believe that it might be a larger task to complete. |
Depends on this being done first: #1919 |
@blakebarnett I'm not sure that #1919 is required before implementing this. I was able to solve this specific issue with: #3385 But it definitively related. |
Looks good, I just want to retrace your steps - commented at #3385 (comment) |
I have a similar issue with a private zone and terraform, all my topology is private and in an existing vpc. The resultant certificate does not include the ELB or any publicly resolvable address so I can't use kubectl from outside the vpc (without modifying etc/hosts). If I could specify the public api name I can then setup a cname to the elb. This isn't just helpful for gossip. Is there a timeline for #3385? |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
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. |
This issue should've been closed a while back, as the related PR was merged. Sorry for the dangling issue. |
Hi,
In order to get going without the requirement for external DNS, i could't find a way that would not break the initial certificates generated.
Challenge:
I'm trying to deploy kubernetes to AWS, but can't use Route53 (for reasons).
I also have to use the Terraform.
In order to use Gossip (meeting the requirement of no Route53), we have to append
k8s.local
to the cluster name. This again causes issues with certificates, as the api-server only have a certificate that's valid forapi.my-k8s.deployment.com.k8s.local
.This results in us having to either:
api.my-k8s.deployment.com
Current version
In order to meet the requirement regarding Route53:
One way we could solve this, is to run
kops edit cluster
and change the master-public-name (remove the k8s.local part). But, when you runkops update cluster
the certificates involved does not get updated, so we are back to scratch.Proposed solution
Add
--master-public-name
as optional argument tokops
.This would allow the following to command to work:
Expected result:
The resulting configuration and certificates generated includes the correct SAN-properties (e.g.
api.my-k8s.deployment.com
All you would need to do after deploying, is pointing a Cname for
api.my-k8s.deployment.com
to the resulting ELB address.Current progress:
I have created a patch, and are ready to submit a PR for this, but would like to get some feedback on the design.
The text was updated successfully, but these errors were encountered: