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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file k8s-collector-0.0.8.tar.gz.

File metadata

  • Download URL: k8s-collector-0.0.8.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for k8s-collector-0.0.8.tar.gz
Algorithm Hash digest
SHA256 c43646b5f1aa5f57d80ce7abf0c18a2dee737dd1e71222ae5431b7aaebca1be4
MD5 29ec4fb25895809d311d2d7d1e24ba73
BLAKE2b-256 8161a838964a2f9b1d6e039b39cd9f15603873e87f0bfc4503b9d839808050b5

See more details on using hashes here.

File details

Details for the file k8s_collector-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for k8s_collector-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 dd3245062f44e1f6a090568a7ac8080fc310e939bdb7b97505f139444f6abc1a
MD5 ae615daea16f273544630db5e45c5b44
BLAKE2b-256 c74bde5fbfd06c0693434e538d7c8b8dc95efbc002ed293e8a44261c22220667

See more details on using hashes here.

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