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 its module with -c/--config
argument with CollectorConfig
file path
python -m k8s_collector.collectors.K8SCollector -c/--config config.yml
to use namespaced version provide -n/--namespace
argument
python -m k8s_collector.collectors.K8SCollector -c/--config config.yml -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.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd3245062f44e1f6a090568a7ac8080fc310e939bdb7b97505f139444f6abc1a |
|
MD5 | ae615daea16f273544630db5e45c5b44 |
|
BLAKE2b-256 | c74bde5fbfd06c0693434e538d7c8b8dc95efbc002ed293e8a44261c22220667 |