Skip to content

EksPodSecurityContext

Source code in docs_src/capo_batch/types/eks_pod_security_context.py
class EksPodSecurityContext(TypedDict, closed=True):
    run_as_user: NotRequired["capo_batch.types.long.Long"]
    """<p>The user ID that runs containers in the pod when a container does not specify its own user ID. The supported value range is <code>0</code> through <code>2147483647</code>.</p>"""
    run_as_group: NotRequired["capo_batch.types.long.Long"]
    """<p>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 <code>0</code> through <code>2147483647</code>.</p>"""
    run_as_non_root: NotRequired["capo_batch.types.boolean.Boolean"]
    """<p>Specifies whether Kubernetes validates that containers in the pod don't run as the root user unless a container specifies an overriding value.</p>"""
    seccomp_profile: NotRequired[
        "capo_batch.types.eks_seccomp_profile.EksSeccompProfile"
    ]
    """<p>The default seccomp profile for containers in the pod. A container-level seccomp profile overrides this value.</p>"""
    fs_group: NotRequired["capo_batch.types.long.Long"]
    """<p>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 <code>0</code> through <code>2147483647</code>.</p>"""

fs_group instance-attribute

fs_group: NotRequired[Long]

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 0 through 2147483647.

run_as_group instance-attribute

run_as_group: NotRequired[Long]

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 0 through 2147483647.

run_as_non_root instance-attribute

run_as_non_root: NotRequired[Boolean]

Specifies whether Kubernetes validates that containers in the pod don't run as the root user unless a container specifies an overriding value.

run_as_user instance-attribute

run_as_user: NotRequired[Long]

The user ID that runs containers in the pod when a container does not specify its own user ID. The supported value range is 0 through 2147483647.

seccomp_profile instance-attribute

seccomp_profile: NotRequired[EksSeccompProfile]

The default seccomp profile for containers in the pod. A container-level seccomp profile overrides this value.