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/openshift/howto-using-azure-redhat-openshift.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,25 +36,25 @@ The `az aro` extension allows you to create, access, and delete Azure Red Hat Op
36
36
> The `az aro` extension is currenty in preview. It may be changed or removed in a future release.
37
37
> To opt-in for the `az aro` extension preview you need to register the `Microsoft.RedHatOpenShift` resource provider.
38
38
>
39
-
> ```
39
+
> ```console
40
40
> az provider register -n Microsoft.RedHatOpenShift --wait
41
41
> ```
42
42
43
43
1. Log in to Azure.
44
44
45
-
```
45
+
```console
46
46
az login
47
47
```
48
48
49
49
2. Run the following command to install the `az aro` extension:
50
50
51
-
```
51
+
```console
52
52
az extension add --source https://arosvc.blob.core.windows.net/az-preview/aro-0.1.0-py2.py3-none-any.whl
53
53
```
54
54
55
55
3. Verify the ARO extension is registered.
56
56
57
-
```
57
+
```console
58
58
az -v
59
59
...
60
60
Extensions:
@@ -68,21 +68,21 @@ Follow these steps to create a virtual network containing two empty subnets.
68
68
69
69
1. Set the following variables.
70
70
71
-
```
71
+
```console
72
72
LOCATION=eastus #the location of your cluster
73
73
RESOURCEGROUP="v4-$LOCATION" #the name of the resource group where you want to create your cluster
74
74
CLUSTER=cluster #the name of your cluster
75
75
```
76
76
77
77
2. Create a resource group for your cluster.
78
78
79
-
```
79
+
```console
80
80
az group create -g "$RESOURCEGROUP" -l $LOCATION
81
81
```
82
82
83
83
3. Create the virtual network.
84
84
85
-
```
85
+
```console
86
86
az network vnet create \
87
87
-g "$RESOURCEGROUP" \
88
88
-n vnet \
@@ -92,7 +92,7 @@ Follow these steps to create a virtual network containing two empty subnets.
92
92
93
93
4. Add two empty subnets to your virtual network.
94
94
95
-
```
95
+
```console
96
96
for subnet in "$CLUSTER-master" "$CLUSTER-worker"; do
97
97
az network vnet subnet create \
98
98
-g "$RESOURCEGROUP" \
@@ -106,7 +106,7 @@ Follow these steps to create a virtual network containing two empty subnets.
106
106
107
107
5. Disable network policies for Private Link Service on your virtual network and subnets. This is a requirement for the ARO service to access and manage the cluster.
108
108
109
-
```
109
+
```console
110
110
az network vnet subnet update \
111
111
-g "$RESOURCEGROUP" \
112
112
--vnet-name vnet \
@@ -119,7 +119,7 @@ Follow these steps to create a virtual network containing two empty subnets.
0 commit comments