Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CN-822] Update external address outputs with HazelcastEndpoint CR #138

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion docs/modules/ROOT/pages/advanced-networking.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,20 @@ include::ROOT:example$/advanced-networking-wan.yaml[]

Possible values for `serviceType` are: `ClusterIP` and `LoadBalancer`. After applying this example configuration, there will be 1 service created with a type of `LoadBalancer` which exposes 5 ports: `5710`, `5711`, `5712`, `5713`, `5714`. If you don't provide a `serviceType`, it will be set to `LoadBalancer` by default.

NOTE: In case WAN Replication configuration is not provided in `advancedNetwork` configuration, port number `5710` will be configured for WAN Replication by default.
NOTE: In case WAN Replication configuration is not provided in `advancedNetwork` configuration, port number `5710` will be configured for WAN Replication by default.

You can use the following command to list the external addresses of the WAN endpoints of the cluster.

[source,shell]
----
kubectl get hazelcastendpoint --selector="app.kubernetes.io/instance=hazelcast-sample"
----

```
NAME TYPE ADDRESS
hazelcast-sample-istanbul-0 WAN 34.72.248.220:5710
hazelcast-sample-istanbul-1 WAN 34.72.248.220:5711
hazelcast-sample-istanbul-2 WAN 34.72.248.220:5712
hazelcast-sample-istanbul-3 WAN 34.72.248.220:5713
hazelcast-sample-istanbul-4 WAN 34.72.248.220:5714
```
12 changes: 12 additions & 0 deletions docs/modules/ROOT/pages/connect-outside-kubernetes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,18 @@ hazelcast-sample-2 NodePort 10.219.243.16 <none> 5701:32585/
<1> Discovery service
<2> Member access service

The command below allows you to list the external addresses of the cluster.

[source,shell]
----
kubectl get hazelcastendpoint --selector="app.kubernetes.io/instance=hazelcast-sample"
----

```
NAME TYPE ADDRESS
hazelcast-sample Discovery 35.230.92.217:5701
```

Smart clients can use the external IP of the load balancer to connect to the cluster.

[tabs]
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/get-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ oc get hazelcast
====

```
NAME STATUS MEMBERS EXTERNAL-ADDRESSES
NAME STATUS MEMBERS
hazelcast-sample Running 3/3
```

Expand Down
Loading