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

Add kubeconfig's for kube-scheduler and kube-controller-manager #898

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

dghubble
Copy link
Member

@dghubble dghubble commented Dec 2, 2020

  • Generate TLS client certificates for kube-scheduler and kube-controller-manager with system:kube-scheduler and
    system:kube-controller-manager CNs
  • Template separate kubeconfigs for kube-scheduler and kube-controller manager (scheduler.conf and controller-manager.conf). Rename admin for clarity
  • Before v1.16.0, Typhoon scheduled a self-hosted control plane, which allowed the steady-state kube-scheduler and kube-controller-manager to use a scoped ServiceAccount. With a static pod control plane, separate CN TLS client certificates are the nearest equiv.
  • https://kubernetes.io/docs/setup/best-practices/certificates/
  • Remove unused Kubelet certificate, TLS bootstrap is used instead

* Generate TLS client certificates for `kube-scheduler` and
`kube-controller-manager` with `system:kube-scheduler` and
`system:kube-controller-manager` CNs
* Template separate kubeconfigs for kube-scheduler and
kube-controller manager (`scheduler.conf` and
`controller-manager.conf`). Rename admin for clarity
* Before v1.16.0, Typhoon scheduled a self-hosted control
plane, which allowed the steady-state kube-scheduler and
kube-controller-manager to use a scoped ServiceAccount.
With a static pod control plane, separate CN TLS client
certificates are the nearest equiv.
* https://kubernetes.io/docs/setup/best-practices/certificates/
* Remove unused Kubelet certificate, TLS bootstrap is used
instead
@dghubble dghubble force-pushed the component-kubeconfigs branch from 361b877 to 804dfea Compare December 2, 2020 06:02
@dghubble dghubble merged commit 804dfea into master Dec 2, 2020
@dghubble dghubble deleted the component-kubeconfigs branch December 2, 2020 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant