Comments (2)
I'm not up to date on the Alpine base images. If you are confident that this change is the right thing, and if you have tested it carefully, please feel free to send a pull request.
You will have to visit https://cla.developers.google.com/ to sign a Contributor License Agreement (CLA) before the pull request can be merged.
from cluster-insight.
Add the following Dockerfile In cluster-insight directory.
FROM gliderlabs/alpine:3.4
RUN apk-install python py-pip
COPY collector/ /collector
RUN ls -la /collector/*
RUN /usr/bin/pip install -r /collector/requirements.txtWORKDIR /collector
#EXPOSE 8080
CMD ["/usr/bin/python", "./collector.py", "--host=0.0.0.0"]
And make a command
sudo docker build -t your_cluster-insight:version_tag .
Another thing is for the original Dockerfile in collector directory. It should be modified as follows:
FROM python:2-onbuild
CMD ["python", "./collector.py", "--host=0.0.0.0"]
Without "--host=0.0.0.0" option, you can not access the cluster-insight server. So, when you want to run Cluster Insight locally. You have to the following command:
python collector.py --debug --host=0.0.0.0
from cluster-insight.
Related Issues (20)
- allow access to the cluster-insight master via a browser using a fixed host name and port HOT 1
- Merge v2 to master HOT 1
- Cluster-insight on Google Container Engine HOT 3
- Cluster-insight POD running successfully but connection refused while connecting to it's endpoint
- An error related to auto-scaling? HOT 1
- Always returns error data HOT 2
- how does the cluster name extraction work? I cannot understand it HOT 1
- when a container has no parent pod, the /cluster/resources/containers throws an error HOT 1
- images with identical names are not merged HOT 2
- report resources in the master node HOT 1
- read information from Docker daemon in the master node
- timestamps should show the time the corresponding data changed HOT 1
- request latency HOT 22
- permission denied to /var/run/docker.sock HOT 14
- docker_proxy.py should use logging instead of 'print'
- the context graph does not contain any containers HOT 4
- latest container image fails to run in some nodes HOT 7
- docker_proxy.py should have a unit test HOT 1
- the installation script often fails because one or more minion collectors are not yet active
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-insight.