Skip to content
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

Request to provide a clear documentation for CA rotation for those who want to do it #19165

Closed
abhiTamrakar opened this issue Feb 18, 2020 · 14 comments
Assignees
Labels
sig/auth Categorizes an issue or PR as relevant to SIG Auth. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.

Comments

@abhiTamrakar
Copy link
Contributor

This is a Bug Report

Problem: There is no documentation for CA rotation, kubernetes does not supports it through kubeadm and it is also not documented anywhere.
Issue link: kubernetes/kubeadm#2027

Proposed Solution:
I tried and successfully rotated the CA manually, there are some issues with kubelet which I am working but otherwise I was able to rotate the CA.
Steps recorded in kubernetes/kubeadm#2027. If this is not the right way, I would say help me and other people who would want to do it.
For example, my organization has a mandate to rotate CA every year and if this is documented somewhere, it would be a big help for people me and everybody using kubernetes.

Page to Update:
https://kubernetes.io/docs/tasks/tls/certificate-rotation/

Kubernetes Version: v1.16.x and v1.15.3

Additional Information:
The documentation should be a separate page references in https://kubernetes.io/docs/tasks/tls/certificate-rotation/ somewhere, so that people can actually make use of it.

This issue #18169 has some information but it is not very much related to CA rotation.

@abhiTamrakar
Copy link
Contributor Author

/sig auth

@k8s-ci-robot k8s-ci-robot added the sig/auth Categorizes an issue or PR as relevant to SIG Auth. label Feb 18, 2020
@neolit123
Copy link
Member

@abhiTamrakar as pointed out earlier, it would be best to notify SIG Auth on their slack channel or zoom meeting about this ticket.

@abhiTamrakar
Copy link
Contributor Author

@neolit123 Yes sure, will do that.

@sftim
Copy link
Contributor

sftim commented Feb 19, 2020

Is this also /sig cluster-lifecycle?

@neolit123
Copy link
Member

Is this also /sig cluster-lifecycle?

ideally the documentation for CA rotation should be deployer agnostic (e.g. not being a guide for kubeadm).

@sftim
Copy link
Contributor

sftim commented Feb 19, 2020

I was thinking about cluster lifecycle in general per https://github.com/kubernetes/community/blob/master/sig-cluster-lifecycle/charter.md#sig-cluster-lifecycle-charter rather than specifically about kubeadm.

@abhiTamrakar
Copy link
Contributor Author

@sftim It should be a part of cluster lifecycle as certificates would anyways be a part of it, irrespective of the individual segregation of entities.

@neolit123
Copy link
Member

neolit123 commented Feb 19, 2020

I was thinking about cluster lifecycle in general per https://github.com/kubernetes/community/blob/master/sig-cluster-lifecycle/charter.md#sig-cluster-lifecycle-charter rather than specifically about kubeadm.

it's certainly not in the SIG Cluster Lifecycle charter to own this space or to document it (maybe falling under the "Improving the Kubernetes user experience for cluster administration", umbrella but that's too generic anyway).
so it seems fair for SIG Auth to drive this and CL can give feedback.

/sig cluster-lifecycle

@k8s-ci-robot k8s-ci-robot added the sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. label Feb 19, 2020
@ch-yogya
Copy link

ch-yogya commented Feb 19, 2020

I'd like to make a PR documenting how to do this.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 19, 2020
@abhiTamrakar
Copy link
Contributor Author

preventing it from rotting, since the PR is WIP

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 20, 2020
abhiTamrakar added a commit to abhiTamrakar/website that referenced this issue May 24, 2020
@abhiTamrakar
Copy link
Contributor Author

/assign @abhiTamrakar

@neolit123
Copy link
Member

the document merged

#19351
#21651

/close

@k8s-ci-robot
Copy link
Contributor

@neolit123: Closing this issue.

In response to this:

the document merged

#19351
#21651

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/auth Categorizes an issue or PR as relevant to SIG Auth. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Projects
None yet
Development

No branches or pull requests

6 participants