Skip to content

Commit 3afc8ed

Browse files
Merge pull request #250109 from johnmarco/jm-aro-update-cluster-publicip
Private Cluster without public IP to GA
2 parents db4e6b1 + 5cf7bb0 commit 3afc8ed

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

articles/openshift/howto-create-private-cluster-4x.md

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Create an Azure Red Hat OpenShift 4 private cluster
33
description: Learn how to create an Azure Red Hat OpenShift private cluster running OpenShift 4
44
ms.service: azure-redhat-openshift
55
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
99
keywords: aro, openshift, az aro, red hat, cli
1010
ms.custom: mvc, devx-track-azurecli
1111
#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
201201
>
202202
> 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).
203203
204-
205-
### Create a private cluster without a public IP address (preview)
204+
### Create a private cluster without a public IP address
206205

207206
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.
208207

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:
213209

214210
```
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
216220
```
217-
After you've registered the feature flag, create the cluster [using the command above](#create-the-cluster).
218221

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
220227
[Virtual network traffic routing](../virtual-network/virtual-networks-udr-overview.md) to learn more.
221228

222-
> [!NOTE]
229+
> [!IMPORTANT]
223230
> Be sure to specify the correct subnet with the properly configured routing table when creating your private cluster.
224231
225232
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.
226233

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+
>
227237
## Connect to the private cluster
228238

229239
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

Comments
 (0)