Skip to content

docs: Remove outdated selectors on rolegroups #453

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 1 commit into from
Sep 18, 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
12 changes: 4 additions & 8 deletions modules/concepts/pages/roles-and-role-groups.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,16 @@ spec:
roleGroups:
default:
replicas: 3
selector:
matchLabels:
kubernetes.io/os: linux # <2>
dataNodes:
config:
resources:
storage:
data:
capacity: 1Gi # <3>
capacity: 1Gi # <2>
roleGroups:
default:
replicas: 2
hiCapacity: # <4>
hiCapacity: # <3>
config:
resources:
storage:
Expand All @@ -71,9 +68,8 @@ spec:
----

<1> The JournalNode role with only a single default role group. For the role group 3 replicas are specified, specifying a replica count is optional, the default is 1.
<2> For the NameNodes default role group, a label selector is given, the pods should only be specified on nodes where the `kubernetes.io/os` label has the value `linux`.
<3> A common config setting for the DataNodes role. This configuration setting applies only to pods for this role.
<4> The DataNode role has two role groups, the default group and the hiCapacity group. In it the config setting for the group is overridden with a higher value of 2Gi. This role group has only one replica.
<2> A common config setting for the DataNodes role. This configuration setting applies only to pods for this role.
<3> The DataNode role has two role groups, the default group and the hiCapacity group. In it the config setting for the group is overridden with a higher value of 2Gi. This role group has only one replica.

== Further Reading

Expand Down
21 changes: 0 additions & 21 deletions modules/tutorials/pages/end-to-end_data_pipeline_example.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ spec:
servers:
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
replicas: 1
config: {}
EOF
Expand Down Expand Up @@ -218,9 +215,6 @@ spec:
capacity: "20Gi"
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
config:
log:
rootLogLevel: INFO
Expand Down Expand Up @@ -448,9 +442,6 @@ spec:
druid.s3.enablePathStyleAccess: "true"
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
config: {}
replicas: 1
coordinators:
Expand All @@ -459,9 +450,6 @@ spec:
druid.s3.enablePathStyleAccess: "true"
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
config: {}
replicas: 1
historicals:
Expand All @@ -470,9 +458,6 @@ spec:
druid.s3.enablePathStyleAccess: "true"
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
config: {}
replicas: 1
middleManagers:
Expand All @@ -481,9 +466,6 @@ spec:
druid.s3.enablePathStyleAccess: "true"
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
config: {}
replicas: 1
routers:
Expand All @@ -492,9 +474,6 @@ spec:
druid.s3.enablePathStyleAccess: "true"
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
config: {}
replicas: 1
EOF
Expand Down