Disconnected clusters are on a restricted network, typically behind a firewall. In this case, clusters can’t access remote registries where Red Hat provided OperatorHub sources reside. Instead, users can deploy operators to disconnected environments using a jump host and private registry to mirror the images.
Users can deploy products to disconnected OpenShift clusters through Workspace. To view product usage data from disconnected clusters, users can import usage data from disconnected clusters using Data collection CLI.
How it works
To install products, do the following:
- Through Workspace, install Red Hat Marketplace Operator, product operators, and product operands to the disconnected environment.
- For products with usage reporting enabled, export usage data from the disconnected environment, and then import usage data to Workspace.
A private registry is used to mirror images that will be used by the operator catalog on a disconnected environment.
A jump host has access to the public internet as well as the disconnected environment including the private registry defined above.
The following describes the general process on how to install operators on disconnected clusters.
- Authenticate to registries. This includes logging into the jump host, authenticating with Red Hat registry, and the user’s private registry.
- Generate a pull secret.
- Prepare authentication credentials. To prepare, users create a JSON file with their authentication credentials to the Red Hat registry and their private registry.
- Prepare the index catalog. This includes pruning the index catalog for selected packages, and then pushing the new index image to the private registry.
- Mirror content to the private registry. Content can be mirrored directly to the private registry or can be mirrored to removable media, and then to the private registry.
- Specify the
imageContentSourcePolicy.yamlfile. On the jump host, create the YAML file in your manifest directory.
- Create a
CatalogSourceobject that references the index image.
- Install Red Hat Marketplace Operator and product operators.
For detailed instructions, on the Install operators page, click the Disconnected tab or refer to Install operators on disconnected clusters using Workspace.
To install operators and container images on disconnected clusters, navigate to your software on Workspace, and then follow the installation instructions for disconnected environments.
- OpenShift major version 4 with any available supported minor version
- Access to a private registry
- Access to a jump host
- On the main menu, click Workspace, and then click Software.
- Click the product tile. The product page shows. On the Documentation tab, review available material related to product installation.
- Click the Operators tab, and then click Install operator. Note: when a product contains multiple operators, a list of available operators shows. Select an option from the list.
- To install operators on disconnected clusters, click the Disconnected tab, and then follow the instructions on the page.
Operators installed on the disconnected clusters.
For a disconnected environment, usage data must be exported from the cluster via Data collection CLI, and then imported to Workspace.
Install Data collection CLI
To get started, users must install Data collection CLI on their jump host. For more information, refer to the Data collection CLI repository.
Export and import usage reports
To export and import usage reports, navigate to the Usage for disconnected cluster page and follow the instructions on how to upload usage data.
- Install operators on disconnected clusters
- Install Data collection CLI on jump host
- On the main menu, click Workspace, and then click Usage.
- Depending on your configuration, do one of the following options:
- When Current usage has yet to be initialized and no data shows on the page, click Disconnected cluster.
- When Current usage has been initialized and data shows on the page, click Upload usage data.
- To import usage reports, on the Upload usage data section, follow the instructions on the page.
Usage data shows on Current usage.