https://github.com/typhoonzero/storm-docker
storm docker image for full config enable
https://github.com/typhoonzero/storm-docker
Last synced: about 1 year ago
JSON representation
storm docker image for full config enable
- Host: GitHub
- URL: https://github.com/typhoonzero/storm-docker
- Owner: typhoonzero
- Created: 2016-05-23T14:51:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-06T09:58:39.000Z (about 10 years ago)
- Last Synced: 2025-02-01T14:45:13.573Z (over 1 year ago)
- Language: Python
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# storm-docker
storm docker image for production deploy on kubernetes
# Apache Storm images for Docker and kubernetes
# Build images
* ```docker build -t /storm-base base```
* ```docker build -t /storm-nimbus nimbus```
* ``` docker build -t /storm-worker worker```
Auto built at hub.docker.io/typhoon1986
# Run on kubernetes
* NOTE: make sure to configure xxxx files to use your own zookeeper address and zookeeper root.
We use an explicit zookeeper cluster on production to ensure write performance.
```
kubectl create -f kubernetes/*.json
```
# Submit a topology to the storm cluster
to build the sample topology:
```
cd storm_logcount_demo/
mvn package
```
This will build and pack the topology and put the jar file under 'target' directory.
Copy the jar file to the storm client machine(you can use typhoon1986/storm-docker to create a pod, and copy the jar into the container)
and run:
```
/opt/apache-storm/bin/storm jar /path/to/stormdemo-1.0-jar-with-dependencies.jar storm.storm_logcount_demo.StormLogCountDemo
```
# View storm ui
we use NodePort to publish storm ui, findout the storm-ui pod ip, and open in web browser:
http://:40003