EksPodSecurityContext
The security context for the pod. The settings apply to all containers in the pod when
the container does not specify an overriding value. For more information, see Set the security context for a Pod
Contents
- fsGroup
-
A special supplemental group that is applied to all containers in the pod. Some volume types allow Kubernetes to change the ownership and permissions of the volume contents to this group when the volume is mounted. The supported value range is
0through2147483647.Type: Long
Required: No
- runAsGroup
-
The primary group ID that runs containers in the pod when a container does not specify its own group ID. The supported value range is
0through2147483647.Type: Long
Required: No
- runAsNonRoot
-
Specifies whether Kubernetes validates that containers in the pod don't run as the root user unless a container specifies an overriding value.
Type: Boolean
Required: No
- runAsUser
-
The user ID that runs containers in the pod when a container does not specify its own user ID. The supported value range is
0through2147483647.Type: Long
Required: No
- seccompProfile
-
The default seccomp profile for containers in the pod. A container-level seccomp profile overrides this value.
Type: EksSeccompProfile object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: