Updated on 2022-02-22 GMT+08:00

K8S.PodSecurityContext

Property Description

Table 1 Property description

Property

Mandatory

Type

Description

runAsUser

No

integer

User

Value Constraint: {u'in_range': [0, 2147483647]}

supplementalGroups

No

integer

Supplement group

Value Constraint: {u'in_range': [0, 2147483647]}

fsGroup

No

integer

File system

Value Constraint: {u'in_range': [0, 2147483647]}

hostNetwork

No

boolean

Using the host network

runAsNonRoot

No

boolean

Non-root user

seLinuxOptions

No

K8S.SecurityContext.SeLinuxOptions

Option

hostIPC

No

boolean

Using the host IPC

hostPID

No

boolean

Using the host PID