|Hi Clayton, |
Much appreciated. I have run the following:
oadm policy add-scc-to-user privileged -n staging -z default (It's a test box and we're deploying our own images, I can edit the scc to hostaccess or hostmount-anyuid later).
I have then run
oc volume dc/<webapp> --add --name=logging --type=hostPath --mount-path=/var/log/<webapp>
The app deploys alright is is up and running sucesfully, but there is nothing logging to the node.
In case it matters I created the log storage by adding a 10Gb disk to the VM the node lives on, created an xfs partition on it and mounted it in the folder that the webapps should log to.
Any pointers would be appreciated.