Skip to content

Commit 2316cc2

Browse files
committed
changelog, docs
1 parent 02a1b22 commit 2316cc2

4 files changed

Lines changed: 21 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ All notable changes to this project will be documented in this file.
1616
- Resources (CPU, memory, storage)
1717
- PodDisruptionBudgets
1818
- Replicas
19+
- Add Listener support ([#17]).
1920

2021
[#10]: https://github.com/stackabletech/opensearch-operator/pull/10
22+
[#17]: https://github.com/stackabletech/opensearch-operator/pull/17
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
= Service exposition with ListenerClasses
2+
:description: Configure OpenSearch service exposure with ListenerClasses: cluster-internal, external-unstable, or external-stable.
3+
4+
The operator deploys a xref:listener-operator:listener.adoc[Listener] for OpenSearch role-groups.
5+
The listener defaults to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.nodes.roleGroups.{role-group-name}.config.listenerClass`:
6+
7+
[source,yaml]
8+
----
9+
spec:
10+
nodes:
11+
roleGroups:
12+
cluster-manager:
13+
config:
14+
listenerClass: external-stable
15+
----
16+
<1> Specify a ListenerClass, such as `external-stable`, `external-unstable`, or `cluster-internal` (the default setting is `cluster-internal`) at role-group level.
17+
This can be set for all role-groups individually.

docs/modules/opensearch/partials/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
** xref:opensearch:getting_started/installation.adoc[]
33
** xref:opensearch:getting_started/first_steps.adoc[]
44
* xref:opensearch:usage-guide/index.adoc[]
5+
** xref:opensearch:usage-guide/listenerclass.adoc[]
56
** xref:opensearch:usage-guide/node-roles.adoc[]
67
** xref:opensearch:usage-guide/storage-resource-configuration.adoc[]
78
** xref:opensearch:usage-guide/configuration-environment-overrides.adoc[]

rust/operator-binary/src/crd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ impl v1alpha1::OpenSearchConfig {
242242
},
243243
},
244244
},
245-
listener_class: Some("cluster-internal".to_string()),
245+
listener_class: Some(DEFAULT_LISTENER_CLASS.to_string()),
246246
}
247247
}
248248
}

0 commit comments

Comments
 (0)