How to create a pod to run with privileged security context constraints in OpenShift 3?
Issue
-
Getting permission issues when trying to deploy a docker image in OpenShift v3
-
# oc logs <pod>
shows the following:
[ALERT] 257/153255 (10) : [/usr/local/sbin/haproxy.main()] Cannot create pidfile /var/run/haproxy.pid
- How do I create a pod to run with privileged securitycontextconstraints
Environment
- Red Hat OpenShift Enterprise 3.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.