How to switch between private clusters and public clusters on ROSA Classic

Solution Verified - Updated -

Environment

  • Red Hat OpenShift Service on AWS (Classic) deployed without AWS STS

Issue

  • You want to switch your cluster from public to private and vice versa.

Resolution

NOTE: This solution does not apply to ROSA with Hosted Control Planes or ROSA Classic clusters deployed with AWS STS.

  • If you have deployed your ROSA Classic cluster without AWS STS, you can switch your cluster between public and private (changing cluster visibility for PrivateLink clusters is not supported).
  • To change from public to private, refer to the ROSA documentation.
  • To change from private to public, run the below command, making sure to replace <cluster-name> with your cluster name:
rosa edit cluster --cluster=<cluster_name> --private=false
  • To verify the change has been made, run the below command, making sure to replace <cluster-name> with your cluster name:
rosa describe cluster --cluster=<cluster_name> | grep Private

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments