sdsen / kubectl-trace Goto Github PK
View Code? Open in Web Editor NEWThis project forked from iovisor/kubectl-trace
Schedule bpftrace programs on your kubernetes cluster using the kubectl
License: MIT License
This project forked from iovisor/kubectl-trace
Schedule bpftrace programs on your kubernetes cluster using the kubectl
License: MIT License
Here is the command which works with docker:
sudo docker run -it --entrypoint bash --rm -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/fs/bpf:/sys/fs/bpf -v /lib/modules:/lib/modules -v /usr/src:/usr/src --privileged de.icr.io/irl-telcocloud/kubectl-trace-bpftrace:trial-1
Has stuff like ruby etc., which feels like an overkill.
As kubectl-trace command line flags.
as a commandline arg.
kubectl-trace/bpftrace behavior for user defined probes is explained here: https://github.com/sdsen/kubectl-trace#run-a-program-against-a-pod
The corresponding code seems to be here: https://github.com/sdsen/kubectl-trace/blob/master/pkg/cmd/tracerunner.go#L88
Ensure, we provide either equivalent or at least alternative mechanim for bcc based user defined probing.
with storing of file etc. how heavy is the system ?
Mount a RAMdisk on node when first time called. If already present, then copy trace file from pod to RAMDisk once experiment ends (capture SIGINT to do it?).
Also, do we benefit from shared memory as well ? Relevant links:
https://dzone.com/articles/docker-in-action-the-shared-memory-namespace
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.