Skip to main content

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 Collectors.
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

k8s-collector-0.0.8.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

k8s_collector-0.0.8-py3-none-any.whl (37.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page