MiniShift

From DrewWiki
Jump to navigation Jump to search

Install oc openshift client

Pull from CLI tool

Or from Red Hat [1]

Install Minishift

Pull from github.com/minishift

Use Minishift with Virtual box

minishift start --vm-driver=virtualbox

Login, deploy an app, expose, describe it

./oc login

./oc new-app centos/httpd-24-centos7~https://github.com/drew-holt/httpd-ex

./oc status

./oc expose svc/httpd-ex

./oc describe deploymentconfig httpd-ex