Red Hat OpenShift Container Platform on Azure
NOTE: This repository contains deprecated scripts and ansible playbooks. Refer to the official documentation Deploying and Managing OpenShift 3.9 on Azure
Overview
The reference architecture supports the creation of either a multi-node full HA production cluster or a single node designed for exploration of OpenShift on Azure.
Reference architectures documentation are located:
- Deploying Red Hat OpenShift Container Platform 3.6 on Microsoft Azure
- Deploying Red Hat OpenShift Container Platform 3.5 on Microsoft Azure
When creating the Red Hat OpenShift Container Platform on Azure, you will need a SSH RSA key for access.
SSH Key Generation
Create the Installation
OCP Version 3.6 - Create the Installation on the Azure Portal
Development Branch
Create a Single VM Installation using the Azure Portal
OCP Version 3.5 - Create the Installation on the Azure Portal
Development Branch
Create a Single VM Installation using the Azure Portal
Parameters
For macOS:
-
SSHKeyData - Public Key - Copy/Paste from .ssh/id_rsa.pub - pbcopy < ~/.ssh/id_rsa.pub
-
PoolId - From RHEL - subscription-manager list --available
-
SSHPrivate Data - Base64 Encoded id_rsa - cat ~/.ssh/id_rsa | base64 | pbcopy
For RHEL/Fedora/CentOS:
-
SSHKeyData - Public Key - Copy/Paste from .ssh/id_rsa.pub - xclip -selection clipboard < ~/.ssh/id_rsa.pub
-
PoolId - From RHEL - subscription-manager list --available
-
SSHPrivate Data - Base64 Encoded id_rsa - cat ~/.ssh/id_rsa | base64 | xclip -selection clipboard
Input Parameters
| 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 |
| numberOfNodes | Integer | Number of OpenShift Nodes to create |
| masterVMSize | String | The size of the Master Virtual Machine |
| infranodeVMSize | String | The size of the Infranode Virtual Machine |
| nodeVMSize | String | The size of the each Node Virtual Machine |
Output Parameters
| Name | Type | Description |
|---|---|---|
| OpenShift Webconsole | String | URL of the OpenShift Webconsole |
| OpenShift Master ssh | String | SSH String to Login at the Master |
| OpenShift Router Public IP | String | Router Public IP. Needed if you want to create your own Wildcard DNS |
This template deploys Red Hat OpenShift on Azure.
Attribution:
Thanks to: Daniel Falkner - Microsoft Germany - For original templates.
Harold Wong Harold.Wong@microsoft.com for his great support.
Ivan McKinley
For full commit history: Please see - https://github.com/glennswest/azure-openshift/