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
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c43646b5f1aa5f57d80ce7abf0c18a2dee737dd1e71222ae5431b7aaebca1be4 |
|
MD5 | 29ec4fb25895809d311d2d7d1e24ba73 |
|
BLAKE2b-256 | 8161a838964a2f9b1d6e039b39cd9f15603873e87f0bfc4503b9d839808050b5 |
File details
Details for the file k8s_collector-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: k8s_collector-0.0.8-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd3245062f44e1f6a090568a7ac8080fc310e939bdb7b97505f139444f6abc1a |
|
MD5 | ae615daea16f273544630db5e45c5b44 |
|
BLAKE2b-256 | c74bde5fbfd06c0693434e538d7c8b8dc95efbc002ed293e8a44261c22220667 |