You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: keps/sig-cluster-lifecycle/kubeadm/2568-kubeadm-non-root-control-plane/README.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,13 +130,14 @@ checklist items _must_ be updated for the enhancement to be released.
130
130
131
131
Items marked with (R) are required *prior to targeting to a milestone / release*.
132
132
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)
134
134
-[ ] (R) KEP approvers have approved the KEP status as `implementable`
135
135
-[ ] (R) Design details are appropriately documented
136
136
-[ ] (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)
140
141
-[ ] "Implementation History" section is up-to-date for milestone
141
142
-[ ] User-facing documentation has been created in [kubernetes/website], for publication to [kubernetes.io]
142
143
-[ ] Supporting documentation—e.g., additional design documents, links to mailing list discussions/SIG meetings, relevant PRs/issues, release notes
@@ -728,7 +729,7 @@ enhancement:
728
729
729
730
The flow below is assuming that the feature-flag to run control-plane as non-root is enabled.
730
731
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.
732
733
733
734
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.
734
735
@@ -751,6 +752,8 @@ enhancement:
751
752
752
753
## Production Readiness Review Questionnaire
753
754
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
+
754
757
<!--
755
758
756
759
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.
784
787
<!--
785
788
Pick one of these and delete the rest.
786
789
-->
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.
788
791
789
792
- [X] Feature gate (also fill in values in `kep.yaml`)
790
793
- Feature gate name: kubeadmRootlessControlPlane
@@ -828,6 +831,8 @@ with and without the feature, are necessary. At the very least, think about
828
831
conversion tests if API types are being modified.
829
832
-->
830
833
834
+
Yes we plan to add e2e tests to test the kubeadm behavior with feature gate enabled using kinder.
835
+
831
836
### Rollout, Upgrade and Rollback Planning
832
837
833
838
<!--
@@ -994,7 +999,9 @@ Think about adding additional work or introducing new steps in between
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.
998
1005
###### Will enabling / using this feature result in non-negligible increase of resource usage (CPU, RAM, disk, IO, ...) in any components?
999
1006
1000
1007
<!--
@@ -1050,6 +1057,8 @@ Major milestones might include:
1050
1057
-->
1051
1058
Major milestones:
1052
1059
- Initial draft of KEP created - 2021-03-13
1060
+
- Production readiness review - 2021-04-12
1061
+
- Production readiness review approved - 2021-04-29
0 commit comments