Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
storm
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
storm
Commits
03d874f5
Commit
03d874f5
authored
Mar 16, 2020
by
吕永新
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
05a34750
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
16 deletions
+54
-16
README.md
README.md
+14
-0
charts/zookeeper/values.yaml
charts/zookeeper/values.yaml
+5
-5
templates/configmap.yaml
templates/configmap.yaml
+3
-3
templates/ingress.yaml
templates/ingress.yaml
+20
-0
templates/nimbus-deployment.yaml
templates/nimbus-deployment.yaml
+2
-2
templates/supervisor-deployment.yaml
templates/supervisor-deployment.yaml
+2
-2
templates/ui-deployment.yaml
templates/ui-deployment.yaml
+2
-2
values-overrides.yaml
values-overrides.yaml
+6
-2
No files found.
README.md
View file @
03d874f5
...
...
@@ -73,3 +73,17 @@ $ helm install --name my-release -f values.yaml incubator/storm
```
> **Tip**: You can use the default [values.yaml](values.yaml)
# 1. Setup
helm install
\
/etc/kubernetes/helm/storm
\
--name=storm
\
--namespace=cdh
\
-f /etc/kubernetes/helm/storm/values-overrides.yaml
# 2. Upgrade
helm upgrade storm /etc/kubernetes/helm/storm
\
-f /etc/kubernetes/helm/storm/values-overrides.yaml
# 3. Uninstall
helm del --purge storm
charts/zookeeper/values.yaml
View file @
03d874f5
...
...
@@ -211,7 +211,7 @@ exporters:
## - https://github.com/carlpett/zookeeper_exporter
## - https://hub.docker.com/r/josdotso/zookeeper-exporter/
## - https://www.datadoghq.com/blog/monitoring-kafka-performance-metrics/#zookeeper-metrics
enabled
:
fals
e
enabled
:
tru
e
image
:
repository
:
registry.cn-qingdao.aliyuncs.com/wod/zookeeper-exporter
tag
:
v1.1.2
...
...
@@ -255,10 +255,10 @@ env:
## Options related to JMX exporter.
## ref: https://github.com/apache/zookeeper/blob/master/bin/zkServer.sh#L36
JMXAUTH
:
"
fals
e"
JMXDISABLE
:
"
fals
e"
JMXAUTH
:
"
tru
e"
JMXDISABLE
:
"
tru
e"
JMXPORT
:
1099
JMXSSL
:
"
fals
e"
JMXSSL
:
"
tru
e"
## The port on which the server will accept client requests.
ZK_CLIENT_PORT
:
2181
...
...
@@ -309,7 +309,7 @@ env:
jobs
:
## ref: http://zookeeper.apache.org/doc/r3.4.10/zookeeperProgrammers.html#ch_zkSessions
chroots
:
enabled
:
fals
e
enabled
:
tru
e
activeDeadlineSeconds
:
300
backoffLimit
:
5
completions
:
1
...
...
templates/configmap.yaml
View file @
03d874f5
...
...
@@ -10,7 +10,7 @@ data:
storm.yaml
:
|-
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- {{
template "storm.zookeeper.fullname" .
}}
- {{
.Values.zookeeper.service.name
}}
nimbus.seeds:
- {{ template "storm.nimbus.fullname" . }}
storm.local.hostname: {{ template "storm.nimbus.fullname" . }}
...
...
@@ -29,7 +29,7 @@ data:
storm.yaml
:
|-
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- {{
template "storm.zookeeper.fullname" .
}}
- {{
.Values.zookeeper.service.name
}}
nimbus.seeds:
- {{ template "storm.nimbus.fullname" . }}
storm.local.hostname: {{ template "storm.supervisor.fullname" . }}
...
...
@@ -64,7 +64,7 @@ data:
storm.yaml
:
|-
########### These MUST be filled in for a storm configuration
storm.zookeeper.servers:
- {{
template "storm.zookeeper.fullname" .
}}
- {{
.Values.zookeeper.service.name
}}
nimbus.seeds:
- {{ template "storm.nimbus.fullname" . }}
storm.local.hostname: {{ template "storm.ui.fullname" . }}
...
...
templates/ingress.yaml
0 → 100644
View file @
03d874f5
{{
- if .Values.ingress.enabled -
}}
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
{{
template "storm.ui.fullname" .
}}
labels
:
chart
:
{{
template "storm.chart" .
}}
release
:
{{
.Release.Name
}}
annotations
:
kubernetes.io/ingress.class
:
traefik
spec
:
rules
:
-
host
:
"
{{
.Values.ingress.host
}}"
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
{{
.Release.Name
}}
-ui
servicePort
:
8080
{{
- end -
}}
templates/nimbus-deployment.yaml
View file @
03d874f5
...
...
@@ -22,9 +22,9 @@ spec:
release
:
{{
.Release.Name
}}
spec
:
initContainers
:
-
name
:
init-{{ template "storm.
zookeeper.fullname" . }}
-
name
:
init-{{ template "storm.
fullname" . }}-zookeeper
image
:
busybox
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
template
"
storm.zookeeper.fullname" .
}}
; do echo waiting for
{{
template "storm.zookeeper.fullname" .
}}
; sleep 2; done;"
]
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
.Values.zookeeper.service.name
}};
do
echo
waiting
for
{{
.Values.zookeeper.service.name
}};
sleep
2;
done;"
]
containers
:
-
name
:
{{
.Values.nimbus.service.name
}}
image
:
"
{{
.Values.nimbus.image.repository
}}:{{
.Values.nimbus.image.tag
}}"
...
...
templates/supervisor-deployment.yaml
View file @
03d874f5
...
...
@@ -20,9 +20,9 @@ spec:
release
:
{{
.Release.Name
}}
spec
:
initContainers
:
-
name
:
init-{{ template "storm.
zookeeper.fullname" . }}
-
name
:
init-{{ template "storm.
fullname" . }}-zookeeper
image
:
busybox
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
template
"
storm.zookeeper.fullname" .
}}
; do echo waiting for
{{
template "storm.zookeeper.fullname" .
}}
; sleep 2; done;"
]
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
.Values.zookeeper.service.name
}};
do
echo
waiting
for
{{
.Values.zookeeper.service.name
}};
sleep
2;
done;"
]
-
name
:
init-{{ template "storm.nimbus.fullname" . }}
image
:
busybox
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
template
"
storm.nimbus.fullname" .
}}
; do echo waiting for
{{
template "storm.nimbus.fullname" .
}}
; sleep 2; done;"
]
...
...
templates/ui-deployment.yaml
View file @
03d874f5
...
...
@@ -23,9 +23,9 @@ spec:
release
:
{{
.Release.Name
}}
spec
:
initContainers
:
-
name
:
init-{{ template "storm.
zookeeper.fullname" . }}
-
name
:
init-{{ template "storm.
fullname" . }}-ui
image
:
busybox
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
template
"
storm.zookeeper.fullname" .
}}
; do echo waiting for
{{
template "storm.zookeeper.fullname" .
}}
; sleep 2; done;"
]
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
.Values.zookeeper.service.name
}};
do
echo
waiting
for
{{
.Values.zookeeper.service.name
}};
sleep
2;
done;"
]
-
name
:
init-{{ template "storm.nimbus.fullname" . }}
image
:
busybox
command
:
[
"
sh"
,
"
-c"
,
"
until
nslookup
{{
template
"
storm.nimbus.fullname" .
}}
; do echo waiting for
{{
template "storm.nimbus.fullname" .
}}
; sleep 2; done;"
]
...
...
values-overrides.yaml
View file @
03d874f5
...
...
@@ -57,8 +57,12 @@ ui:
annotations
:
{}
tls
:
[]
zookeeper
:
ingress
:
enabled
:
true
host
:
storm-ui.wodcloud.com
zookeeper
:
enabled
:
false
service
:
name
:
zookeeper
name
:
myzk-zookeeper-headless
stormName
:
storm
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