When creating the RedHat Openshift Origin cluster on Azure, you will need an SSH RSA key for access.
- Windows - https://www.digitalocean.com/community/tutorials/how-to-create-ssh-keys-with-putty-to-connect-to-a-vps
- Linux - https://help.ubuntu.com/community/SSH/OpenSSH/Keys#Generating_RSA_Keys
- Mac - https://help.github.com/articles/generating-ssh-keys/#platform-mac
New-AzureRmResourceGroupDeployment -Name <DeploymentName> -ResourceGroupName <RessourceGroupName> -TemplateUri https://raw.githubusercontent.com/derdanu/azure-openshift/master/azuredeploy.json
azure group deployment create <RessourceGroupName> <DeploymentName> --template-uri https://raw.githubusercontent.com/derdanu/azure-openshift/master/azuredeploy.json
After the Azure resources have been deployed by using this ARM template, you must connect via SSH to the jumbox. SSH Agentforwarding is required. The Installation is based on Openshift Ansible. The lastest repository has been checked out on the jumpbox into the directory /opt/openshift-ansible/ and a minimal configuration file was created at /etc/ansible/hosts for Openshift Origin. To start the installation call the following bash script:
user@localmachine:~$ eval $(ssh-agent)
user@localmachine:~$ ssh-add
user@localmachine:~$ ssh -A <JumpboxIP>
[adminUsername@jumpbox ~]$ ./openshift-install.sh
To login on the jumpbox please refer to the Agent forwarding HowTo for Putty using Pageant.
[adminUsername@jumpbox ~]$ ./openshift-install.sh
Name | Type | Description |
---|---|---|
adminUsername | String | Username for SSH Login and Openshift Webconsole |
adminPassword | SecureString | Password for the Openshift Webconsole |
sshKeyData | String | Public SSH Key for the Virtual Machines |
masterDnsName | String | DNS Prefix for the Openshift Master / Webconsole |
image | String | Operating System to use. RHEL or CentOs |
numberOfMasterNodes | Integer | Number of Openshift master nodes to create (usually either 1 or 3) |
masterVMSize | String | The size of the master nodes |
masterVMstorType | string | premium or standard storage |
numberOfinfrasndes | Integer | Number of Openshift intra nodes to create |
infranodeVMSize | String | The size of the infra nodes |
infranodeVMstorType | string | premium or standard storage |
numberOfNodes | Integer | Number of Openshift Nodes to create |
nodeVMSize | String | The size of each node |
nodeVMstorType | string | premium or standard storage |
jumpVMSize | String | The size of the jumpbox |
jumpVMstorType | string | premium or standard storage |
Name | Type | Description |
---|---|---|
openshift Webconsole | String | URL of the Openshift Webconsole |
openshift Jumpbox ssh | String | SSH String to Login at the Jumpbox |
openshift CLI | String | OC command String to Login |
openshift Router Public IP | String | Router Public IP. Needed if you want to create your own Wildcard DNS |
This template deploys a RedHat Openshift Origin cluster on Azure.