Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
hbase
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
market
hbase
Commits
f8181987
Commit
f8181987
authored
Jun 30, 2021
by
吕振江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: statefulset.yaml
parent
1ad354a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
templates/hbase-master-statefulset.yaml
templates/hbase-master-statefulset.yaml
+9
-3
templates/hbase-rs-statefulset.yaml
templates/hbase-rs-statefulset.yaml
+9
-3
No files found.
templates/hbase-master-statefulset.yaml
View file @
f8181987
apiVersion
:
apps/v1
beta1
apiVersion
:
apps/v1
kind
:
StatefulSet
kind
:
StatefulSet
metadata
:
metadata
:
name
:
{{
template "hbase.fullname" .
}}
-master
name
:
{{
template "hbase.fullname" .
}}
-master
...
@@ -11,6 +11,11 @@ metadata:
...
@@ -11,6 +11,11 @@ metadata:
spec
:
spec
:
serviceName
:
{{
template "hbase.fullname" .
}}
-master
serviceName
:
{{
template "hbase.fullname" .
}}
-master
replicas
:
{{
.Values.hbase.hmaster.replicas
}}
replicas
:
{{
.Values.hbase.hmaster.replicas
}}
selector
:
matchLabels
:
app
:
{{
template "hbase.name" .
}}
release
:
{{
.Release.Name
}}
component
:
hbase-master
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
...
@@ -19,7 +24,8 @@ spec:
...
@@ -19,7 +24,8 @@ spec:
component
:
hbase-master
component
:
hbase-master
spec
:
spec
:
affinity
:
affinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
podAntiAffinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
-
topologyKey
:
"
kubernetes.io/hostname"
-
topologyKey
:
"
kubernetes.io/hostname"
labelSelector
:
labelSelector
:
matchLabels
:
matchLabels
:
...
@@ -54,4 +60,4 @@ spec:
...
@@ -54,4 +60,4 @@ spec:
volumes
:
volumes
:
-
name
:
hbase-config
-
name
:
hbase-config
configMap
:
configMap
:
name
:
hbase-configmap
name
:
hbase-configmap
\ No newline at end of file
templates/hbase-rs-statefulset.yaml
View file @
f8181987
apiVersion
:
apps/v1
beta1
apiVersion
:
apps/v1
kind
:
StatefulSet
kind
:
StatefulSet
metadata
:
metadata
:
name
:
{{
template "hbase.name" .
}}
-rs
name
:
{{
template "hbase.name" .
}}
-rs
...
@@ -11,6 +11,11 @@ metadata:
...
@@ -11,6 +11,11 @@ metadata:
spec
:
spec
:
serviceName
:
{{
template "hbase.name" .
}}
-rs
serviceName
:
{{
template "hbase.name" .
}}
-rs
replicas
:
{{
.Values.hdfs.dataNode.replicas
}}
replicas
:
{{
.Values.hdfs.dataNode.replicas
}}
selector
:
matchLabels
:
app
:
{{
template "hbase.name" .
}}
release
:
{{
.Release.Name
}}
component
:
hbase-rs
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
...
@@ -19,7 +24,8 @@ spec:
...
@@ -19,7 +24,8 @@ spec:
component
:
hbase-rs
component
:
hbase-rs
spec
:
spec
:
affinity
:
affinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
podAntiAffinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
-
topologyKey
:
"
kubernetes.io/hostname"
-
topologyKey
:
"
kubernetes.io/hostname"
labelSelector
:
labelSelector
:
matchLabels
:
matchLabels
:
...
@@ -54,4 +60,4 @@ spec:
...
@@ -54,4 +60,4 @@ spec:
volumes
:
volumes
:
-
name
:
hbase-config
-
name
:
hbase-config
configMap
:
configMap
:
name
:
hbase-configmap
name
:
hbase-configmap
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment