KEP-2862keps/sig-node/2862-fine-grained-kubelet-authz
Fine grained Kubelet API authorization
<!-- This section is incredibly important for producing high-quality, user-focused documentation such as release notes or a development roadmap. It should be possible to collect this information before implementation begins, in order to avoid requiring implementors to split their attention between writing release notes and implementing the feature itself. KE… Full summary
<!-- This section is incredibly important for producing high-quality, user-focused documentation such as release notes or a development roadmap. It should be possible to collect this information before implementation begins, in order to avoid requiring implementors to split their attention between writing release notes and implementing the feature itself. KEP editors and SIG Docs should help to ensure that the tone and content of the Summary section is useful for a wide audience. A good summary is probably at least a paragraph in length. Both in this section and below, follow the guidelines of the [documentation style guide]. In particular, wrap lines to a reasonable length, to make it easier for reviewers to cite specific portions, and to minimize diff churn on updates. [documentation style guide]: https://github.com/kubernetes/community/blob/master/contributors/guide/style-guide.md --> We propose a change to the Kubelet API authorization to provide more fine-grained control so that logging and monitoring agents that interact with the Kubelet directly can do so while adhering to the least privilege principle. Currently, the Kubelet API authorization uses a coarse authorization scheme, where actions like reading health status and the ability to exec into a pod require the same RBAC permissions. We also propose that we document the kubelt API endpoints that we are adding fine-grained authorization for as these were previously undocumented.
Facts
- Authors
- @vinayakankugoyal
- Approvers
- @tallclair@liggitt
- Reviewers
- @sergeykanzhelev@tallclair@liggitt
- Tracking issue
- #2862(opens GitHub in a new tab) openmilestone v1.36sig/authsig/nodestage/stablekind/featurepriority/important-longtermlifecycle/frozen
- Milestones
- alpha v1.32beta v1.33stable v1.36
- Participating SIGs
- sig-auth
- Feature gates
- KubeletFineGrainedAuthz
- Created / last updated
- 2024-07-11 / none