Skip to content

Commit f688ef1

Browse files
committed
KEP-127: Reject pods with userns if the feature is disabled
Signed-off-by: Rodrigo Campos <[email protected]>
1 parent 3766329 commit f688ef1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

keps/sig-node/127-user-namespaces/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,8 @@ enhancement:
680680
The apiserver and kubelet feature gate enablement work fine in any combination:
681681

682682
1. If the apiserver has the feature gate enabled and the kubelet doesn't, then the pod will show
683-
that field and the kubelet will ignore it. Then, the pod is created without user namespaces.
683+
that field and the kubelet will reject it (see more details about how it is rejected on section
684+
"What specific metrics should inform a rollback?").
684685
2. If the apiserver has the feature gate disabled and the kubelet enabled, the pod won't show this
685686
field and therefore the kubelet won't act on a field that isn't shown. The pod is created without
686687
user namespaces.
@@ -850,7 +851,8 @@ upgraded one, the pod will be accepted (if the apiserver is >= 1.25, rejected if
850851
If it is scheduled to a node where the kubelet has the feature flag activated
851852
and the node meets the requirements to use user namespaces, then the pod will be
852853
created with the namespace. If it is scheduled to a node that has the feature
853-
disabled, it will be created without the user namespace.
854+
disabled, it will be rejected (see more details about how it is rejected on
855+
section "What specific metrics should inform a rollback?").
854856

855857
On a rollback, pods created while the feature was active (created with user
856858
namespaces) will have to be re-created to run without user namespaces. If those

0 commit comments

Comments
 (0)