Skip to content

Commit

Permalink
[CN-1214] Introduce page for air-gapped env installation (#250)
Browse files Browse the repository at this point in the history
Co-authored-by: Amanda Lindsay <[email protected]>
Co-authored-by: Kutluhan Metin <[email protected]>
  • Loading branch information
3 people authored Oct 21, 2024
1 parent c6f2d7c commit 7108d39
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
78 changes: 78 additions & 0 deletions docs/modules/ROOT/pages/air-gapped-env.adoc
Original file line number Diff line number Diff line change
@@ -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 >
```

0 comments on commit 7108d39

Please sign in to comment.