Conor O'Neill
Dara Hayes
OpenShift Commons Briefing
It took some work...
Result: Avoid rebuilding a container when code changes
package.json
minishift-demo.yml
Result: application restarts within existing container
By default, Containers cannot access the underlying host FS
We can change this with Security Context Constraints
$ oc get scc # list the built in policies
Result: containers are allowed to mount host path volumes
Mounting local code including node_modules breaks native dependencies. We Installed node_modules in another folder.
Result: native deps are compiled for the right platform.
Caveat: must rebuild container when deps change.
demo
What about scaling?
$ minishift config set memory 4096
$ minishift config set cpus 4
$ oc describe node
Minishift has potential to be a great dev environment
but it's not perfect
We don't have the answers
We would love your suggestions and contributions
(yet)
conoro
conor.oneill@nearform.com
darragh_hayes
dara.hayes@nearform.com
end ☕️