diff --git a/docs/modules/ROOT/examples/operator-expose-externally/hazelcast-unisocket.yaml b/docs/modules/ROOT/examples/operator-expose-externally/hazelcast-unisocket.yaml index c5618f6..e065f06 100644 --- a/docs/modules/ROOT/examples/operator-expose-externally/hazelcast-unisocket.yaml +++ b/docs/modules/ROOT/examples/operator-expose-externally/hazelcast-unisocket.yaml @@ -3,6 +3,7 @@ kind: Hazelcast metadata: name: my-hazelcast-unisocket spec: + licenseKeySecretName: hazelcast-license-key exposeExternally: type: Unisocket discoveryServiceType: LoadBalancer diff --git a/docs/modules/ROOT/examples/operator-expose-externally/hazelcast.yaml b/docs/modules/ROOT/examples/operator-expose-externally/hazelcast.yaml index d1db77d..76a888a 100644 --- a/docs/modules/ROOT/examples/operator-expose-externally/hazelcast.yaml +++ b/docs/modules/ROOT/examples/operator-expose-externally/hazelcast.yaml @@ -3,6 +3,7 @@ kind: Hazelcast metadata: name: my-hazelcast spec: + licenseKeySecretName: hazelcast-license-key exposeExternally: type: Smart discoveryServiceType: LoadBalancer diff --git a/docs/modules/ROOT/pages/hazelcast-platform-operator-expose-externally.adoc b/docs/modules/ROOT/pages/hazelcast-platform-operator-expose-externally.adoc index c860b95..4cee9a6 100644 --- a/docs/modules/ROOT/pages/hazelcast-platform-operator-expose-externally.adoc +++ b/docs/modules/ROOT/pages/hazelcast-platform-operator-expose-externally.adoc @@ -17,6 +17,17 @@ * Up and running https://kubernetes.io/[Kubernetes] cluster * Kubernetes command-line tool, https://kubernetes.io/docs/tasks/tools/#kubectl[kubectl] * Deployed xref:operator:ROOT:get-started.adoc[Hazelcast Platform Operator] +* Create a license secret: ++ +Create a secret with your link:http://trialrequest.hazelcast.com/[Hazelcast Enterprise License]. + ++ +[source, shell] +---- +kubectl create secret generic hazelcast-license-key --from-literal=license-key= +---- + +NOTE: Starting with version 5.13, Hazelcast Platform Operator only supports Hazelcast Enterprise cluster creation. Even the feature can be used in Hazelcast Open Source clusters, Hazelcast Platform Operator requires license key to run a cluster. WARNING: This tutorial uses LoadBalancer services to connect to Hazelcast from outside of the Kubernetes cluster. Therefore, it is essential to ensure that your Kubernetes cluster can assign public IPs to LoadBalancer services. This is particularly important if you are using a local Kubernetes cluster such as Minikube or Kind.