Cloud API Overview > @adpt/cloud > k8s > PodSecurityContext > runAsUser
k8s.PodSecurityContext.runAsUser property
The UID to run the entrypoint of the container process.
Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
Signature:
runAsUser?: number;