Skip to content
Zhonghu Xu edited this page Apr 16, 2020 · 1 revision

1. Volcano fails on OpenShift

If you fail running volcano job one OpenShift, run the following two commands:

oc adm policy add-scc-to-user privileged -z volcano-admission -n volcano-system

oc patch deployment volcano-admission -n volcano-system -p '{"spec": {"template": {"spec": {"securityContext": {"runAsUser": 0}}}}}'

And maybe you also need to update the volcano-controllers ClusterRole:

- apiGroups: ["batch.volcano.sh"]
    resources: ["jobs", "jobs/finalizers"]
    verbs: ["get", "list", "watch", "update", "delete"]
Clone this wiki locally