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/tutorial-connect-cluster.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ ms.date: 04/24/2020
11
11
12
12
# Tutorial: Connect to an Azure Red Hat OpenShift 4 cluster
13
13
14
-
In this tutorial, part two of three, you will connect to an Azure Red Hat OpenShift (ARO) cluster running OpenShift 4 as the kube-admin user through the OpenShift web console. You learn how to:
14
+
In this tutorial, part two of three, you will connect to an Azure Red Hat OpenShift (ARO) cluster running OpenShift 4 as the kubeadmin user through the OpenShift web console. You learn how to:
15
15
> [!div class="checklist"]
16
-
> * Obtain `kube-admin` credentials for your cluster
16
+
> * Obtain `kubeadmin` credentials for your cluster
17
17
> * Install the OpenShift CLI
18
18
> * Connect to an ARO cluster using the OpenShift CLI
Copy file name to clipboardExpand all lines: articles/openshift/tutorial-create-cluster.md
+15-17Lines changed: 15 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ az -v
54
54
```output
55
55
...
56
56
Extensions:
57
-
aro 0.1.0
57
+
aro 1.0.0
58
58
...
59
59
```
60
60
@@ -84,10 +84,8 @@ Next, you will create a virtual network containing two empty subnets.
84
84
85
85
An Azure resource group is a logical group in which Azure resources are deployed and managed. When you create a resource group, you are asked to specify a location. This location is where resource group metadata is stored, it is also where your resources run in Azure if you don't specify another region during resource creation. Create a resource group using the [az group create][az-group-create] command.
86
86
87
-
The following example creates a resource group named *aro-rg* in the *eastus* location.
88
-
89
87
```azurecli-interactive
90
-
az group create --name aro-rg --location eastus
88
+
az group create --name $CLUSTER --location $LOCATION
91
89
```
92
90
93
91
The following example output shows the resource group created successfully:
@@ -105,17 +103,17 @@ Next, you will create a virtual network containing two empty subnets.
105
103
}
106
104
```
107
105
108
-
3. **Create a virtual network.**
106
+
2. **Create a virtual network.**
109
107
110
108
Azure Red Hat OpenShift clusters running OpenShift 4 require a virtual network with two empty subnets, for the master and worker nodes.
111
109
112
-
Create a new virtual network in the same resource group you created earlier, for example in *aro-rg*.
110
+
Create a new virtual network in the same resource group you created earlier.
113
111
114
112
```azurecli-interactive
115
113
az network vnet create \
116
-
--resource-group aro-rg \
114
+
--resource-group $RESOURCEGROUP \
117
115
--name aro-vnet \
118
-
--address-prefixes 10.0.0.0/8
116
+
--address-prefixes 10.0.0.0/22
119
117
```
120
118
121
119
The following example output shows the virtual network created successfully:
@@ -138,34 +136,34 @@ Next, you will create a virtual network containing two empty subnets.
138
136
}
139
137
```
140
138
141
-
4. **Add an empty subnet for the master nodes.**
139
+
3. **Add an empty subnet for the master nodes.**
142
140
143
141
```azurecli-interactive
144
142
az network vnet subnet create \
145
-
--resource-group aro-rg \
143
+
--resource-group $RESOURCEGROUP \
146
144
--vnet-name aro-vnet \
147
145
--name master-subnet \
148
146
--address-prefixes 10.0.1.0/24 \
149
147
--service-endpoints Microsoft.ContainerRegistry
150
148
```
151
149
152
-
5. **Add an empty subnet for the worker nodes.**
150
+
4. **Add an empty subnet for the worker nodes.**
153
151
154
152
```azurecli-interactive
155
153
az network vnet subnet create \
156
-
--resource-group aro-rg \
154
+
--resource-group $RESOURCEGROUP \
157
155
--vnet-name aro-vnet \
158
156
--name worker-subnet \
159
157
--address-prefixes 10.1.0.0/20 \
160
158
--service-endpoints Microsoft.ContainerRegistry
161
159
```
162
160
163
-
6. **[Disable subnet private endpoint policies](https://docs.microsoft.com/azure/private-link/disable-private-link-service-network-policy) on the master subnet.** This is required to be able to connect and manage the cluster.
161
+
5. **[Disable subnet private endpoint policies](https://docs.microsoft.com/azure/private-link/disable-private-link-service-network-policy) on the master subnet.** This is required to be able to connect and manage the cluster.
0 commit comments