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-create-private-cluster-4x.md
+23-13Lines changed: 23 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ title: Create an Azure Red Hat OpenShift 4 private cluster
3
3
description: Learn how to create an Azure Red Hat OpenShift private cluster running OpenShift 4
4
4
ms.service: azure-redhat-openshift
5
5
ms.topic: article
6
-
ms.date: 03/17/2023
7
-
author: joharder
8
-
ms.author: joharder
6
+
ms.date: 09/01/2023
7
+
author: johnmarco
8
+
ms.author: johnmarc
9
9
keywords: aro, openshift, az aro, red hat, cli
10
10
ms.custom: mvc, devx-track-azurecli
11
11
#Customer intent: As an operator, I need to create a private Azure Red Hat OpenShift cluster
@@ -201,29 +201,39 @@ After executing the `az aro create` command, it normally takes about 35 minutes
201
201
>
202
202
> By default OpenShift uses self-signed certificates for all of the routes created on `*.apps.<random>.<location>.aroapp.io`. If you choose Custom DNS, after connecting to the cluster, you'll need to follow the OpenShift documentation to [configure a custom certificate for your ingress controller](https://docs.openshift.com/container-platform/4.8/security/certificates/replacing-default-ingress-certificate.html) and [custom certificate for your API server](https://docs.openshift.com/container-platform/4.8/security/certificates/api-server.html).
203
203
204
-
205
-
### Create a private cluster without a public IP address (preview)
204
+
### Create a private cluster without a public IP address
206
205
207
206
Typically, private clusters are created with a public IP address and load balancer, providing a means for outbound connectivity to other services. However, you can create a private cluster without a public IP address. This may be required in situations in which security or policy requirements prohibit the use of public IP addresses.
208
207
209
-
> [!IMPORTANT]
210
-
> Currently, this Azure Red Hat OpenShift feature is being offered in preview only. Preview features are available on a self-service, opt-in basis. Previews are provided "as is" and "as available," and they are excluded from the service-level agreements and limited warranty. Azure Red Hat OpenShift previews are partially covered by customer support on a best-effort basis. As such, these features are not meant for production use.
211
-
212
-
To create a private cluster without a public IP address, register for the feature flag `UserDefinedRouting` using the following command structure:
208
+
To create a private cluster without a public IP address, [follow the procedure above](#create-the-cluster), adding the parameter `--outbound-type UserDefinedRouting` to the `aro create` command, as in the following example:
213
209
214
210
```
215
-
az feature register --namespace Microsoft.RedHatOpenShift --name UserDefinedRouting
211
+
az aro create \
212
+
--resource-group $RESOURCEGROUP \
213
+
--name $CLUSTER \
214
+
--vnet aro-vnet \
215
+
--master-subnet master-subnet \
216
+
--worker-subnet worker-subnet \
217
+
--apiserver-visibility Private \
218
+
--ingress-visibility Private \
219
+
--outbound-type UserDefinedRouting
216
220
```
217
-
After you've registered the feature flag, create the cluster [using the command above](#create-the-cluster).
218
221
219
-
Enabling this User Defined Routing option prevents a public IP address from being provisioned. User Defined Routing (UDR) allows you to create custom routes in Azure to override the default system routes or to add more routes to a subnet's route table. See
222
+
> [!NOTE]
223
+
> The UserDefinedRouting flag can only be used when creating clusters with `--apiserver-visibility Private` and `--ingress-visibility Private` parameters.
224
+
>
225
+
226
+
This User Defined Routing option prevents a public IP address from being provisioned. User Defined Routing (UDR) allows you to create custom routes in Azure to override the default system routes or to add more routes to a subnet's route table. See
220
227
[Virtual network traffic routing](../virtual-network/virtual-networks-udr-overview.md) to learn more.
221
228
222
-
> [!NOTE]
229
+
> [!IMPORTANT]
223
230
> Be sure to specify the correct subnet with the properly configured routing table when creating your private cluster.
224
231
225
232
For egress, the User Defined Routing option ensures that the newly created cluster has the egress lockdown feature enabled to allow you to secure outbound traffic from your new private cluster. See [Control egress traffic for your Azure Red Hat OpenShift (ARO) cluster (preview)](howto-restrict-egress.md) to learn more.
226
233
234
+
> [!NOTE]
235
+
> If you choose the User Defined Routing network type, you're completely responsible for managing the egress of your cluster's routing outside of your virtual network (for example, getting access to public internet). Azure Red Hat OpenShift cannot manage this for you.
236
+
>
227
237
## Connect to the private cluster
228
238
229
239
You can log into the cluster using the `kubeadmin` user. Run the following command to find the password for the `kubeadmin` user.
0 commit comments