Comments (4)
I see the same problem. Need to pass kubectl
the -c
flag in some cases:
$ cat ~/k8s/kube-system/pod/kube-dns-v11-19scr/logs
$
$ kubectl --namespace=kube-system logs kube-dns-v11-19scr
Error from server: a container name must be specified for pod kube-dns-v11-19scr, choose one of: [etcd kube2sky skydns healthz]
$ kubectl --namespace=kube-system logs -c etcd kube-dns-v11-19scr
2016-06-29 00:29:03.644732 I | etcdserver: start to snapshot (applied: 4810481, lastsnap: 4800480)
2016-06-29 00:29:03.705105 I | etcdserver: saved snapshot at index 4810481
2016-06-29 00:29:03.705411 I | etcdserver: compacted raft log at 4805481
...
from kubefuse.
Seems like the primary issue in resolving this is deciding on the proper directory hierarchy.
from kubefuse.
Yes indeed. I like the simplicity of having a single logs file, but maybe we could add extra folders or files when there is more than one container in the pod.
from kubefuse.
Since the pods need to have a name it may be as simple as naming the logs «log_container».
from kubefuse.
Related Issues (20)
- Acquire mutex for file writes
- Install fails with missing dependency on fusepy HOT 1
- Make active cluster and kube configuration configurable
- Enhance list of entities HOT 1
- Cached YAML returned after successful edit of JSON HOT 1
- Note that Python 3 is not supported HOT 2
- installation requirments HOT 1
- Show correct file sizes
- `pip install` doesn't pull in dependencies
- Print Statements Break Python3
- Execution fails on mac HOT 6
- Support for Python 3
- Writing json/yaml should resubmit the resource HOT 1
- Make sed work
- Communicate error on bad replacement
- Requirements are not installed & missing pyyaml HOT 2
- Implement unlink
- Implement "replicas" file in replication controllers HOT 1
- Can we add a meminfo file to pods?
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 kubefuse.