diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 86543f5e..a1d7166c 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -2,6 +2,8 @@ * xref:index.adoc[Overview] * xref:get-started.adoc[Deploy a Cluster] * xref:deploy-management-center.adoc[Deploy Management Center] +* xref:scaling-upgrading.adoc[Scaling & Upgrading] +* xref:air-gapped-env.adoc[Running in air-gapped environments] * xref:connect-outside-kubernetes.adoc[] * xref:scheduling-configuration.adoc[Scheduling Hazelcast Pods] * xref:serialization-configuration.adoc[Serialization] diff --git a/docs/modules/ROOT/pages/air-gapped-env.adoc b/docs/modules/ROOT/pages/air-gapped-env.adoc new file mode 100644 index 00000000..b772cfbd --- /dev/null +++ b/docs/modules/ROOT/pages/air-gapped-env.adoc @@ -0,0 +1,78 @@ += Running in air-gapped environments + +The Hazelcast Platform Operator can be run in an air-gapped environment without access to the open internet when it is configured not to pull container images from `docker.io/hazelcast`. + +By default, while using the Hazelcast Platform Operator, you don't need to specify the container images in Hazelcast and Management Center custom resources for any application. The operator automatically sets the correct container image for each application. When running in an air-gapped or offline environment, you have to mirror the official images in a private container image registry. To make use of your mirrored images, you have to set the image for each application explicitly, as shown in the preceding sections. + +== Setting the image for the Platform Operator + +[source,shell,subs="attributes"] +---- +helm install operator hazelcast/hazelcast-platform-operator --version={operator-chart-version} \ + --set=installCRDs=true \ + --set=image.repository= < PRIVATE_REGISTRY > \ + --set=image.tag= < PRIVATE_TAG > \ + --set=image.pullSecrets= {< REGISTRY-SECRET >} +---- + + +== Setting the image for Hazelcast + +[source,yaml] +``` +apiVersion: hazelcast.com/v1alpha1 +kind: Hazelcast +metadata: + name: hazelcast +spec: + repository: < PRIVATE_REGISTRY > + version: < PRIVATE_TAG > + imagePullSecrets: + - name: < PRIVATE_REGISTRY-SECRET > +``` + +== Setting the image for the Sidecar Agent + +[source,yaml] +``` +apiVersion: hazelcast.com/v1alpha1 +kind: Hazelcast +metadata: + name: hazelcast +spec: + imagePullSecrets: + - name: < PRIVATE_REGISTRY-SECRET > + agent: + repository: < PRIVATE_REGISTRY > + version: < PRIVATE_TAG > +``` + +== Setting the image for the Management Center + +[source,yaml] +``` +apiVersion: hazelcast.com/v1alpha1 +kind: ManagementCenter +metadata: + name: managementcenter +spec: + repository: < PRIVATE_REGISTRY > + version: < PRIVATE_TAG > + imagePullSecrets: + - name: < PRIVATE_REGISTRY-SECRET > +``` + +== Setting the image for Flow + +[source,yaml] +``` +apiVersion: hazelcast.com/v1alpha1 +kind: Flow +metadata: + name: flow +spec: + repository: < PRIVATE_REGISTRY > + version: < PRIVATE_TAG > + imagePullSecrets: + - name: < PRIVATE_REGISTRY-SECRET > +``` \ No newline at end of file