-
Notifications
You must be signed in to change notification settings - Fork 61
Starting Local OpenShift 3.x Instance
Welcome !! Let the story with OpenShift begin :)
Currently the quick way to configure and run OpenShift 3.x is using either:
- Minishift
- Container Development Kit
Minishift is a tool that helps you run OpenShift locally by running a single-node OpenShift cluster inside a VM. You can try out OpenShift or develop with it, day-to-day, on your local host.
For more details visit: https://github.com/minishift/minishift
For detailed explanation please follow: https://docs.okd.io/latest/minishift/getting-started/quickstart.html
- Run the minishift start command:
$ minishift start
Sample Output:
OpenShift server started.
The server is accessible via web console at:
https://xxx.xxx.xx.xx:8443/console
You are logged in as:
User: developer
Password: <any value>
To login as administrator:
oc login -u system:admin
After minishift has started and url is configured, it is time to enable certain addons to the openshift cluster.
- List the default addons:
$ minishift addons list
- Install addons for enabling java components.
Note: Xpaas addon depends on redhat-registry-login
and has to be applied after the redhat-registry-login
is applied.
$ minishift addon apply redhat-registry-login -a REGISTRY_USERNAME=<redhat-developer-username> -a REGISTRY_PASSWORD=<password>
Info: The username and password refer to the credentials needed to accesss registry.redhat.io. Users need to create account at developers.redhat.com.
$ minishift addon apply xpaas
$ minishift openshift component add service-catalog
$ minishift openshift component add automation-service-broker
$ minishift openshift component add template-service-broker