-
-
Notifications
You must be signed in to change notification settings - Fork 6
Listener support/external access #450
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
9634d61
Remove pod svc controller
sbernauer 5b74ac9
Add listener volume
sbernauer 5432701
Dont deploy rolegroup Service
sbernauer d41a0c3
Deploy rolegroup services again, namenode/journalnode listeners
nightkr 9cb6ad5
Advertise as pod address
nightkr e65207b
Run manual tests against 3.3.4, fix børked registration keys
nightkr 9d3e541
Use listener addresses to generate discovery
nightkr 2cb5c79
Merge branch 'main' into feat/listener
nightkr c1e0fae
Fix datanode port for HTTPS
nightkr 2cd93ad
Use configured listenerclasses
nightkr a223e6e
Move listenerclass into role config
nightkr bfa4035
Remove useless journalnode listenerclass option
nightkr 29f1290
Docs
nightkr e37b364
Changelog
nightkr 668ffc6
Disabled start of test
nightkr 010a6ea
Update CRD
nightkr 14d0b1b
Remove reference to custom image
nightkr 416c1fa
Document namenode_listener_refs
nightkr bff35cd
Break out the listener volume name to a constant
nightkr a2482e3
Merge branch 'main' into feat/listener
nightkr 2d11d59
Update tests/templates/kuttl/external-access/operate-on-cluster.sh
nightkr aadaa7c
Avoid cloning FQDN override path
nightkr 99345c6
Merge branch 'feat/listener' of github.com:stackabletech/hdfs-operato…
nightkr ef80833
Use the port name constants we already have
nightkr fa5fe56
Re-remove redundant role argument from ContainerConfig::volumes
nightkr 351aea6
Bounds-check port number
nightkr 86f42a0
Separate data volumes from listener volume
nightkr f4144ec
Add a comment on discovery ordering
nightkr ed6b229
Remove stale TODO
nightkr 467f752
bash != fish
nightkr 3169a4f
Break other volumes out of `container_log_config`
nightkr cb2dab3
Merge branch 'main' into feat/listener
nightkr 1898601
Update docs/modules/hdfs/pages/usage-guide/listenerclass.adoc
nightkr 86a3229
Drop external access test limit range
nightkr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
= Service exposition with ListenerClasses | ||
|
||
The Operator deploys a service called `<name>-<role>-<rolegroup>` (where `<name>` is the name of the HdfsCluster, `<role>` is the role and `<rolegroup>` the name of the role group) through which the different HDFS processes can be accessed. Unlike many other Stackable Operators, the HDFS Operator does not deploy role-level Services. | ||
The operator deploys a xref:listener-operator:listener.adoc[Listener] for each DataNode and NameNode pod. They both default to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.{data,name}Nodes.config.listenerClass`. | ||
|
||
These services can have either the `cluster-internal` or `external-unstable` type. `external-stable` is not supported for HDFS at the moment. Read more about the types in the xref:concepts:service-exposition.adoc[service exposition] documentation at platform level. | ||
|
||
This is how the listener class is configured: | ||
The cluster can be configured to be accessible from outside of Kubernetes like this: | ||
|
||
[source,yaml] | ||
---- | ||
spec: | ||
clusterConfig: | ||
listenerClass: cluster-internal # <1> | ||
dataNodes: | ||
config: | ||
listenerClass: external-unstable # <1> | ||
nameNodes: | ||
config: | ||
listenerClass: external-stable # <2> | ||
---- | ||
<1> The default `cluster-internal` setting. | ||
<1> DataNode listeners should prioritize having a direct connection, to minimize network transfer overhead. | ||
<2> NameNode listeners should prioritize having a stable address, since they will be baked into the client configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.