-
Notifications
You must be signed in to change notification settings - Fork 4
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
docs: Add example to pod placement #413
Changes from 3 commits
fb46b5e
d18b554
61fb13c
5e241d3
b243684
e0ce50b
2996c2f
7d54cdc
30eba1a
f11258f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ You can configure Pod placement for HBase nodes as described in xref:concepts:op | |
|
||
The default affinities created by the operator are: | ||
|
||
1. Co-locate all the Hbase Pods (weight 20) | ||
2. Co-locate Hbase regionservers with the underlying HDFS datanodes (weight 50) | ||
3. Distribute all Pods within the same role (masters, region servers, rest servers) (weight 70) | ||
1. Co-locate all the HBase Pods (weight 20) | ||
2. Co-locate HBase regionservers with the underlying HDFS datanodes (weight 50) | ||
3. Distribute all Pods within the same role (masters, regionservers, rest servers) (weight 70) | ||
|
||
Default Pod placement constraints for master nodes: | ||
|
||
|
@@ -104,7 +104,7 @@ In the examples above `cluster-name` is the name of the HBase custom resource th | |
NOTE: It is important that the `hdfsConfigMapName` property contains the name the HDFS cluster. You could instead configure ConfigMaps of specific name or data roles, but for the purpose of pod placement, this will lead to faulty behavior. | ||
|
||
== Use custom pod placement | ||
xref:concepts:operations/pod_placement.adoc[] describes how you can configure pod placement in general. | ||
xref:concepts:operations/pod_placement.adoc[The concepts page on Pod Placement] describes how you can configure pod placement in general. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm sorry but: How does this look in a rendered version now? And: You have "Pod" once and "pod" another time. We should be consistent There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed lower and upper case. Currently it reads The concepts page on Pod placement describes how you can configure Pod placement in general. We could change it to e.g. This concepts page describes how you can configure Pod placement in general. but I have been told to not have "click this" links, but instead tell the user where the link is pointing too. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My suggestion: For general configuration of Pod placement, see the [Pod placement concepts] page. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Applied in 2996c2f |
||
One example use-case for HBase would be to *require* the HBase masters to run on different Kubernetes nodes as follows: | ||
|
||
[source,yaml] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, reading this again now, I have a new suggestion.
Point 1 needs clarification but I don't know exactly how. What is it we do exactly there?
And we should point out (I thought we did somewhere) that this is "only" preferred not required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See 30eba1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. But what does the first point actually mean?
"Co-locate al the HBase Pods"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its the first rule in the example below
I just pulls all HBase Pods together, so that e.g. hbase master + regionserver + restserver run on the same node to reduce latency.