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
= Installing {product} in an air-gapped environment with the Helm Chart
5
+
= Installing {product} in an air-gapped environment with the Helm chart
6
6
7
-
An air-gapped environment, also known as an air-gapped network or isolated network, ensures security by physically segregating the system or network. This isolation is established to prevent unauthorized access, data transfer, or communication between the air-gapped system and external sources.
7
+
You can install {product} in a fully disconnected or partially disconnected environment using the {product} Helm chart.
8
8
9
-
You can install {product} in an air-gapped environment to ensure security and meet specific regulatory requirements.
9
+
== Installing {product} in a partially disconnected environment with the Helm chart
10
10
11
-
To install {product-short} in an air-gapped environment, you must have access to the `registry.redhat.io` and the registry for the air-gapped environment.
11
+
If your network has access to the internal {company-name} registries, you can deploy your {product} instance in your partially disconnected environment by mirroring the specified resources directly to the target registry.
12
12
13
13
.Prerequisites
14
14
@@ -21,15 +21,14 @@ To install {product-short} in an air-gapped environment, you must have access to
21
21
* You have an account in https://developers.redhat.com/[{rhdeveloper-name}] portal.
22
22
23
23
.Procedure
24
-
25
-
. Log in to your {ocp-short} account using the {openshift-cli}, by running the following command:
24
+
. Log in to your {ocp-short} account using the {openshift-cli} by running the following command:
For more information about registry authentication, see https://access.redhat.com/RegistryAuthentication[{company-name} Container Registry Authentication].
62
-
63
60
. Create an `ImageSetConfiguration` file to specify the resources that you want to mirror. For example:
64
61
+
62
+
[source,terminal]
63
+
----
64
+
apiVersion: mirror.openshift.io/v1alpha2
65
+
kind: ImageSetConfiguration
66
+
storageConfig:
67
+
local:
68
+
path: ./mirror-output
69
+
mirror:
70
+
helm:
71
+
repositories:
72
+
- name: openshift-charts
73
+
url: https://charts.openshift.io
74
+
charts:
75
+
- name: redhat-developer-hub
76
+
version: "{product-version}"
77
+
----
78
+
. Mirror the resources specified in the`ImageSetConfiguration` file directly to the target registry by running the following command:
. To verify that all resources are successfully deployed and running, check the status of your deployments and pods in the cluster.
93
+
. To validate the route, ensure that the route matches the expected URL based on the router base of the cluster.
94
+
.. If necessary, update the route to align with your expected configuration.
95
+
96
+
== Installing {product} in a fully disconnected environment with the Helm chart
97
+
98
+
You can use the Helm chart to install {product} by mirroring specified resources and transferring them to your air-gapped environment without any connection to the internet.
99
+
100
+
.Prerequisites
101
+
102
+
* You have installed {ocp-brand-name} {ocp-version-min} or later.
103
+
* You have access to the `registry.redhat.io`.
104
+
* You have access to the {ocp-brand-name} image registry for your cluster. For more information about exposing the image registry, see the {ocp-brand-name} documentation about https://docs.openshift.com/container-platform/{ocp-version}/registry/securing-exposing-registry.html[Exposing the registry].
105
+
* You have installed the {openshift-cli} on your workstation.
106
+
* You have installed the `podman` command line tools on your workstation.
107
+
* You have installed the oc-mirror {openshift-cli} plugin, for more information see https://docs.openshift.com/container-platform/4.17/disconnected/mirroring/installing-mirroring-disconnected.html#installation-oc-mirror-installing-plugin_installing-mirroring-disconnected[Installing the oc-mirror OpenShift CLI plugin].
108
+
* You have an account in https://developers.redhat.com/[{rhdeveloper-name}] portal.
109
+
110
+
.Procedure
111
+
112
+
. Log in to your {ocp-short} account using the {openshift-cli} by running the following command:
. To verify that all resources are successfully deployed and running, check the status of your deployments and pods in the cluster.
110
193
. To validate the route, ensure that the route matches the expected URL based on the router base of the cluster.
111
194
.. If necessary, update the route to align with your expected configuration.
195
+
196
+
[role="_additional-resources"]
197
+
.Additional resources
198
+
* For more information about registry authentication, see https://access.redhat.com/RegistryAuthentication[{company-name} Container Registry Authentication].
0 commit comments