Skip to content

Commit 5ce3635

Browse files
authored
fix: vllm deployment script runAsNonRoot update (#126)
Setting `runAsNonRoot` to false for kubernetes clusters. The deployment issue currently happens on EKS and GKE clusters without this setting. Closes #125 Approved-by: VaishnaviHire
1 parent 3b8639a commit 5ce3635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ generate_security_context() {
135135
# For vLLM, use restricted-v2 SCC annotation (do not create new SCC resource)
136136
SECURITY_CONTEXT_YAML=""
137137
CONTAINER_SECURITY_CONTEXT_YAML="securityContext:
138-
runAsNonRoot: true"
138+
runAsNonRoot: false"
139139

140140
# Add annotation for restricted-v2 SCC to deployment
141141
if kubectl api-resources --api-group=security.openshift.io | grep -iq 'SecurityContextConstraints'; then

0 commit comments

Comments
 (0)