Comments (3)
The list of containers obtained from Docker on this node using:
% curl http://localhost:4243/containers/json
is:
[
...
,{"Command":""/bin/sh -c '/usr/sbin/td-agent "$FLUENTD_ARGS" \u003e /var/log/td-agent/td-agent.log'"","Created":1428433466,"Id":"00be5cd66a8f9dc82c9ec00071b6fbc17232e8c977db252eccfc4f2aeae21be3","Image":"kubernetes/fluentd-elasticsearch:1.3","Names":["/k8s_fluentd-es.2a803504_fluentd-to-elasticsearch-kubernetes-minion-a7lt.c.gce-monitoring.internal_default_c5973403e9c9de201f684c38aa8a7588_4dfe38b6"],"Ports":[],"Status":"Up 44 hours"}
,{"Command":"/pause","Created":1428433465,"Id":"7965cae79197413216add4d418f3b5a218ae3b240101fc69d57c2898abcf98dc","Image":"kubernetes/pause:go","Names":["/k8s_POD.7c16d80d_fluentd-to-elasticsearch-kubernetes-minion-a7lt.c.gce-monitoring.internal_default_c5973403e9c9de201f684c38aa8a7588_417b0b4c"],"Ports":[],"Status":"Up 44 hours"}
This container appears in the output of the /cluster/resources/containers API.
Interestingly, the value of the "Hostname" attribute in the container information is truncated to the first 64 characters:
"Hostname": "fluentd-to-elasticsearch-kubernetes-minion-a7lt.c.gce-monitorin",
This truncation is probably a red herring.
from cluster-insight.
This truncation is the source of the problem. The "Hostname" attribute actually contains the pod name and not a true host name. We try to match this in the container with the pod name. Since it is truncated, we do not match the the pod name, and this pod remains unreported.
from cluster-insight.
Fixed by pull request #39.
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
- image size HOT 2
- 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.