You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/openshift-azure-stack.md
+26-17Lines changed: 26 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Deploy OpenShift in Azure Stack
3
-
description: Deploy OpenShift in Azure Stack.
2
+
title: Deploy OpenShift in Azure Stack Hub
3
+
description: Deploy OpenShift in Azure Stack Hub.
4
4
author: haroldwongms
5
5
manager: joraio
6
6
ms.service: virtual-machines
@@ -12,21 +12,20 @@ ms.date: 10/14/2019
12
12
ms.author: haroldw
13
13
---
14
14
15
-
# Deploy OpenShift Container Platform or OKD in Azure Stack
15
+
# Deploy OpenShift Container Platform or OKD in Azure Stack Hub
16
16
17
17
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Flexible scale sets
18
18
19
-
OpenShift can be deployed in Azure Stack. There are some key differences between Azure and Azure Stack so deployment will differ slightly and capabilities will also differ slightly.
19
+
[OpenShift](openshift-get-started.md) can be deployed in Azure Stack Hub. There are some key differences between Azure and Azure Stack Hub so deployment will differ slightly and capabilities will also differ slightly.
20
20
21
-
Currently, the Azure Cloud Provider doesn't work in Azure Stack. For this reason, you won't be able to use disk attach for persistent storage in Azure Stack. Instead, you can configure other storage options such as NFS, iSCSI, GlusterFS, etc. As an alternative, you can enable CNS and use GlusterFS for persistent storage. If CNS is enabled, three additional nodes will be deployed with additional storage for GlusterFS usage.
21
+
Currently, the Azure Cloud Provider doesn't work in Azure Stack Hub. For this reason, you won't be able to use disk attach for persistent storage in Azure Stack Hub. Instead, you can configure other storage options such as NFS, iSCSI, and GlusterFS. As an alternative, you can enable CNS and use GlusterFS for persistent storage. If CNS is enabled, three more nodes will be deployed with storage for GlusterFS usage.
22
22
23
-
You can use one of several methods to deploy OpenShift Container Platform or OKD in Azure Stack:
23
+
You can use one of several methods to deploy OpenShift Container Platform or OKD in Azure Stack Hub:
24
24
25
25
- You can manually deploy the necessary Azure infrastructure components and then follow the [OpenShift Container Platform documentation](https://docs.openshift.com/container-platform) or [OKD documentation](https://docs.okd.io).
26
-
- You can also use an existing [Resource Manager template](https://github.com/Microsoft/openshift-container-platform/) that simplifies the deployment of the OpenShift Container Platform cluster.
27
-
- You can also use an existing [Resource Manager template](https://github.com/Microsoft/openshift-origin) that simplifies the deployment of the OKD cluster.
26
+
- You can also use an existing [Azure Resource Manager template](https://github.com/Microsoft/openshift-container-platform/) that simplifies the deployment of the OpenShift Container Platform cluster.
28
27
29
-
If using the Resource Manager template, select the proper branch (azurestack-release-3.x). The templates for Azure won't work as the API versions are different between Azure and Azure Stack. The RHEL image reference is currently hard-coded as a variable in the azuredeploy.json file and will need to be changed to match your image.
28
+
If using the Azure Resource Manager template, select the proper branch (`azurestack-release-3.x`). The templates for Azure won't work. The API versions are different between Azure and Azure Stack Hub. The RHEL (Red Hat Enterprise Linux) image reference is currently hard-coded as a variable in the `azuredeploy.json` file and you will need to update to match your image.
30
29
31
30
```json
32
31
"imageReference": {
@@ -37,20 +36,30 @@ If using the Resource Manager template, select the proper branch (azurestack-rel
37
36
}
38
37
```
39
38
40
-
For all options, a Red Hat subscription is required. During the deployment, the Red Hat Enterprise Linux instance is registered to the Red Hat subscription and attached to the Pool ID that contains the entitlements for OpenShift Container Platform.
41
-
Make sure you have a valid Red Hat Subscription Manager (RHSM) username, password, and Pool ID. Alternatively, you can use an Activation Key, Org ID, and Pool ID. You can verify this information by signing in to https://access.redhat.com.
39
+
## Prerequisites
42
40
43
-
## Azure Stack prerequisites
41
+
You or your cloud operator will need to have the following things to deploy OpenShift on Azure Stack Hub.
44
42
45
-
A RHEL image (OpenShift Container Platform) or CentOS image (OKD) needs to be added to your Azure Stack environment to deploy an OpenShift cluster. Contact your Azure Stack administrator to add these images. Instructions can be found here:
43
+
### A Red Hat subscription
46
44
47
-
-[Add and remove a custom VM image to Azure Stack Hub](/azure-stack/operator/azure-stack-add-vm-image)
48
-
-[Azure Marketplace items available for Azure Stack Hub](/azure-stack/operator/azure-stack-marketplace-azure-items)
49
-
-[Offer a Red Hat-based virtual machine for Azure Stack Hub](/azure-stack/operator/azure-stack-redhat-create-upload-vhd)
45
+
A Red Hat subscription is required. During the deployment, the RHEL instance is registered to the Red Hat subscription and attached to the Pool ID that contains the entitlements for OpenShift Container Platform.
50
46
47
+
Make sure you have a valid Red Hat Subscription Manager (RHSM) username, password, and Pool ID. Alternatively, you can use an Activation Key, Org ID, and Pool ID. You can verify this information by at https://access.redhat.com.
48
+
49
+
### Red Hat Enterprise Linux CoreOS (RHCOS) 4.9 available in Azure Stack Hub
50
+
51
+
Red Hat Enterprise Linux CoreOS (RHCOS) 4.9 is not available in the Azure Stack Hub Marketplace. Your cloud operator doesn't need to create an marketplace offering for the RHEL CoreOS 4.9, but the image does not need to be available.
52
+
53
+
The cloud operator for your Azure Stack Hub instance will need to get the .VHD from Red Hat and load it into a storage container in the Azure Stack Hub environment. Then, the operator can reference the VHD location in the Azure Resource Manager template used to deploy OpenShift. The image is used for deployment and will be used for all control plane. The image can also be used for worker nodes in the cluster. You can also the image or Red Hat Enterprise Linux (RHEL) 7.9 or 8.4 images for worker nodes.
54
+
55
+
The operator can follow the steps in the Open Shift documentation at:
56
+
1.[Uploading the RHCOS cluster image and bootstrap Ignition config file](https://docs.openshift.com/container-platform/4.9/installing/installing_azure_stack_hub/installing-azure-stack-hub-user-infra.html#installation-azure-user-infra-uploading-rhcos_installing-azure-stack-hub-user-infra)
57
+
2.[Deploying the RHCOS cluster image for the Azure Stack Hub infrastructure](https://docs.openshift.com/container-platform/4.9/installing/installing_azure_stack_hub/installing-azure-stack-hub-user-infra.html#installation-azure-user-infra-deploying-rhcos_installing-azure-stack-hub-user-infra)
58
+
59
+
Contact your Azure Stack Hub cloud operator to add this image using these instructions.
51
60
## Deploy by using the OpenShift Container Platform or OKD Resource Manager template
52
61
53
-
To deploy by using the Resource Manager template, you use a parameters file to supply the input parameters. To further customize the deployment, fork the GitHub repo and change the appropriate items.
62
+
To deploy by using the Azure Resource Manager template, you use a parameters file to supply the input parameters. To further customize the deployment, fork the GitHub repo and change the appropriate items.
54
63
55
64
Some common customization options include, but aren't limited to:
0 commit comments