Skip to content

Commit 99165f9

Browse files
[KEP-2568] Production Readiness Review.
1 parent 07aaf97 commit 99165f9

File tree

3 files changed

+20
-8
lines changed
  • keps

3 files changed

+20
-8
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kep-number: 2568
2+
alpha:
3+
approver: "@ehashman"

keps/sig-cluster-lifecycle/kubeadm/2568-kubeadm-non-root-control-plane/README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,14 @@ checklist items _must_ be updated for the enhancement to be released.
130130

131131
Items marked with (R) are required *prior to targeting to a milestone / release*.
132132

133-
- [ ] (R) Enhancement issue in release milestone, which links to KEP dir in [kubernetes/enhancements] (not the initial KEP PR)
133+
- [x] (R) Enhancement issue in release milestone, which links to KEP dir in [kubernetes/enhancements] (not the initial KEP PR)
134134
- [ ] (R) KEP approvers have approved the KEP status as `implementable`
135135
- [ ] (R) Design details are appropriately documented
136136
- [ ] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input (including test refactors)
137-
- [ ] (R) Graduation criteria is in place
138-
- [ ] (R) Production readiness review completed
139-
- [ ] (R) Production readiness review approved
137+
- [x] (R) Graduation criteria is in place
138+
- [x] (R) Production readiness review completed
139+
- [x] (R) Production readiness review approved
140+
- The PRR was N/A as there are no in-tree changes proposed in this KEP. Pleases see these slack discussion threads. [Thread 1](https://kubernetes.slack.com/archives/CPNHUMN74/p1618272532012700) [Thread 2](https://kubernetes.slack.com/archives/CPNHUMN74/p1619205764018600)
140141
- [ ] "Implementation History" section is up-to-date for milestone
141142
- [ ] User-facing documentation has been created in [kubernetes/website], for publication to [kubernetes.io]
142143
- [ ] Supporting documentation—e.g., additional design documents, links to mailing list discussions/SIG meetings, relevant PRs/issues, release notes
@@ -728,7 +729,7 @@ enhancement:
728729

729730
The flow below is assuming that the feature-flag to run control-plane as non-root is enabled.
730731

731-
`kubeadm` checks the cluster-config to see if the control-plane is already running as non-root. If so it re-writes the contents of the file and makes sure that the `UID`s and `GID`s previously assigned have permissions to read/write appropriately. The control-plane stati-pod manifests don't explicitly need to be updated for running them as non-root in this case.
732+
`kubeadm` checks the cluster-config to see if the control-plane is already running as non-root. If so it re-writes the contents of the files/credentials and makes sure that the `UID`s and `GID`s previously assigned have permissions to read/write appropriately. The control-plane static-pod manifests don't explicitly need to be updated for running them as non-root in this case.
732733

733734
If the control-plane was not running as non-root before then `kubeadm` creates new `UID`s and `GID`s based on the approach mentioned in the [Assigning UID and GID](#assigning-uid-and-gid) section and updates the cluster-config. When files/credentials are re-written the owner of these files are set appropriately. The control-plane static-pod manifests explicitly need to be updated to run as non-root in this case.
734735

@@ -751,6 +752,8 @@ enhancement:
751752

752753
## Production Readiness Review Questionnaire
753754

755+
> :warning: **The PRR was N/A as there are no in-tree changes proposed in this KEP.** Pleases see these slack discussion threads. [Thread 1](https://kubernetes.slack.com/archives/CPNHUMN74/p1618272532012700) [Thread 2](https://kubernetes.slack.com/archives/CPNHUMN74/p1619205764018600)
756+
754757
<!--
755758

756759
Production readiness reviews are intended to ensure that features merging into
@@ -784,7 +787,7 @@ This section must be completed when targeting alpha to a release.
784787
<!--
785788
Pick one of these and delete the rest.
786789
-->
787-
Note: the feature gate here is for `kubeadm` and not k8s components.
790+
Note: the feature gate here is for `kubeadm` and not the control-plane components.
788791

789792
- [X] Feature gate (also fill in values in `kep.yaml`)
790793
- Feature gate name: kubeadmRootlessControlPlane
@@ -828,6 +831,8 @@ with and without the feature, are necessary. At the very least, think about
828831
conversion tests if API types are being modified.
829832
-->
830833

834+
Yes we plan to add e2e tests to test the kubeadm behavior with feature gate enabled using kinder.
835+
831836
### Rollout, Upgrade and Rollback Planning
832837

833838
<!--
@@ -994,7 +999,9 @@ Think about adding additional work or introducing new steps in between
994999

9951000
[existing SLIs/SLOs]: https://git.k8s.io/community/sig-scalability/slos/slos.md#kubernetes-slisslos
9961001
-->
997-
Yes, in kubeadm control-plane bootstrap process when we create files and directories we would have to change the permissions and the owners of these files. So there will be a minute increase in bootstrap time for control-plane.
1002+
Yes, in kubeadm control-plane bootstrap process we will create users/groups for the various control-plane components. This operation will add a minute delay to bootstrap. Also failing to do so would cause the bootstrap to fail.
1003+
1004+
When we create files and directories we would have to change the permissions and the owners of these files. So there will be a minute increase in bootstrap time for control-plane.
9981005
###### Will enabling / using this feature result in non-negligible increase of resource usage (CPU, RAM, disk, IO, ...) in any components?
9991006

10001007
<!--
@@ -1050,6 +1057,8 @@ Major milestones might include:
10501057
-->
10511058
Major milestones:
10521059
- Initial draft of KEP created - 2021-03-13
1060+
- Production readiness review - 2021-04-12
1061+
- Production readiness review approved - 2021-04-29
10531062

10541063
## Drawbacks
10551064

keps/sig-cluster-lifecycle/kubeadm/2568-kubeadm-non-root-control-plane/kep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ approvers:
1717
- "@neolit123"
1818
- "@fabriziopandini"
1919
prr-approvers:
20-
- TBD
20+
- "@ehashman"
2121

2222
# The target maturity stage in the current dev cycle for this KEP.
2323
stage: alpha

0 commit comments

Comments
 (0)