-
Notifications
You must be signed in to change notification settings - Fork 966
FAQ
Zhonghu Xu edited this page Apr 16, 2020
·
1 revision
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"]