kinvolk-archives / cgnet Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
cgroup-root
config?)besteffort
burstable
guaranteed
pod<uid>
We should have a nice cli, more similar to top
; maybe not taking up the entire terminal buffer, but updating rather than logging.
see #13 (comment)
A list of possible metrics to collect:
You could use CircleCI with a deployment
directive (example: scope).
And then in the README, you can explain how to use it in Kubernetes without recompiling anything.
--help
flagand sum up the sent/received bytes.
How can we do tests?
Test bpf programs using BPF_PROG_TEST_RUN
We will provide k8s manifests for an example deployment of cgnet
as a DaemonSet
A user may have many exporters and Prometheus components on the same machine, so to make that easier each has a unique port number. (...)
Feel free to grab the next free port number when developing your exporter, preferably before publicly announcing it. If you’re not ready to release yet, putting your username and WIP is fine.
src
https://github.com/prometheus/prometheus/wiki/Default-port-allocations
We default to /sys/fs/cgroup/systemd/kubepods
for now.
It looks like querying of the kubelet config is part of
this PR for dynamic kubelet configuration.
There seems to be a way without that:
A way to query/monitor the config in-use on a given node. Today this is possible via the configz endpoint, but this is just for debugging, not production use.
(src)
I make cgent but meet this error
...
go build \
-ldflags "-X github.com/kinvolk/cgnet/cmd.version=967821a" \
-o cgnet .
build github.com/kinvolk/cgnet: cannot load github.com/cespare/xxhash/v2: open /usr/lib/golang/src/vendor/github.com/cespare/xxhash/v2: no such file or directory
...
The go version I used is go version go1.13.4 linux/amd64
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.