Restricting the API server to private for an Microsoft Azure cluster
If the security posture of your organization does not allow clusters to use an open API endpoint, you can restrict the API server to use only internal load balancers. To implement this API server restriction, use the Microsoft Azure console to delete the external load balancer component.
-
You have installed an Red Hat OpenShift Container Platform cluster on Azure.
-
You have access to the Azure console as a user with administrator privileges.
-
Log in to the Azure console as a user with administrator privileges.
-
Delete the following resources:
-
The
api-v4rule for the public load balancer. -
The
frontendIPConfigurationparameter that is associated with theapi-v4rule for the public load balancer. -
The public IP address that is specified in the
frontendIPConfigurationparameter.
-
-
Configure the Ingress Controller endpoint publishing scope to
Internal. For more information, see "Configuring the Ingress Controller endpoint publishing scope to Internal". -
Delete the
api.<cluster_name>DNS entry in the public zone.where
<cluster_name>is the name of the cluster.