Skip to content

Commit bc785b9

Browse files
authored
Merge pull request #30256 from marosset/windows-runasnonroot-updates
Updating runAsNonRoot support for Windows
2 parents 3dd978e + afbb133 commit bc785b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/setup/production-environment/windows/intro-windows-in-kubernetes.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,13 +519,13 @@ work between Windows and Linux:
519519
* `securityContext.readOnlyRootFilesystem` -
520520
not possible on Windows; write access is required for registry & system
521521
processes to run inside the container
522-
* `EcurityContext.runAsGroup` -
522+
* `securityContext.runAsGroup` -
523523
not possible on Windows as there is no GID support
524-
* `ecurityContext.runAsNonRoot` -
525-
Windows does not have a root user. The closest equivalent is `ContainerAdministrator`
526-
which is an identity that doesn't exist on the node.
524+
* `securityContext.runAsNonRoot` -
525+
this setting will prevent containers from running as `ContainerAdministrator`
526+
which is the closest equivalent to a root user on Windows.
527527
* `securityContext.runAsUser` -
528-
use [`runAsUsername`](/docs/tasks/configure-pod-container/configure-runasusername)
528+
use [`runAsUserName`](/docs/tasks/configure-pod-container/configure-runasusername)
529529
instead
530530
* `securityContext.seLinuxOptions` -
531531
not possible on Windows as SELinux is Linux-specific

0 commit comments

Comments
 (0)