collect k8s objects, parse them with jmespath and send them to sink
Project description
k8s-collector
collect k8s objects, parse them with jmespath and send them to sink
How to run
k8s-collector
collectors package with built-in objects named Collector
s.
Collector
encapsulates all the necessary parts of the library for specific collection usage, for example K8SCollector
collects k8s resources.
For now the k8s-collector
library used to collect k8s resources, but in theory you can define Listener
, Handler
, Processor
, Filterer
and Sink
for everything
and thus creating Collector
for everything.
K8SCollector
To use K8SCollector
simply run
python -m k8s_collector.collectors.K8SCollector
to use namespaced version provide -n/--namespace
argument
python -m k8s_collector.collectors.K8SCollector -n second-namespace
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for k8s_collector-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f6d57659b5a3344d267ae3a310291c126590dad68f8c5622e650a30515845b0 |
|
MD5 | f1422e9bc78c30c94220ab5d0b98a606 |
|
BLAKE2b-256 | 6c0eb70097bff3b8b4b1be83f6ecf12d5ea662b99d78adb00e46cee7d9ed3adf |