Deploying a Cluster on Azure using OpenShift
- Login into OpenShift server. Get the login url by running the following command.
az group deployment show --name Microsoft.Template --resource-group <ResourceGroupName> | grep "cloudapp.azure.com/console"
Sample:az group deployment show --name Microsoft.Template --resource-group suneelOSFPClusterRG | grep "cloudapp.azure.com/console"
Output-"value": "https://masterdnspbodumwnz6vx6.eastus.cloudapp.azure.com/console"
Now use the above URL to login.oc login <openshiftConsoleUrl> -u <username> --insecure-skip-tls-verify
Sample:oc login https://masterdnspbodumwnz6vx6.eastus.cloudapp.azure.com -u ocpadmin --insecure-skip-tls-verify
- Create a new project:
oc new-project <project name>
Sample:oc new-project ml5-openshift
- Make sure you are on a newly created project by running the following command.
oc project <project name>
Sample:- oc project ml5-openshift
- Obtain the registry url created by the OpenShift deployment.
Copyright © Cloud Software Group, Inc. All rights reserved.