Closed jt-dd closed 4 months ago
This PR add a function to add an offline collector. It allows to dump locally or directly on a s3 bucket.
- local dump (compressed):
./kubehound dump local --compress --output-dir /tmp/kubehound --debug
- local dump (flat):
./kubehound dump local --output-dir /tmp/kubehound --debug
- s3 dump:
./kubehound collector s3 --bucket kubehound --region us-east-1
I think this should be a separate binary. If you consider the KHaaS use case we just want a small binary to collect data and upload to s3 so no need to ship all the kubehound stuff like mongo/janus clients etc to do that
This PR add a function to add an offline collector. It allows to dump locally or directly on a s3 bucket.
./kubehound dump local --compress --output-dir /tmp/kubehound --debug
./kubehound dump local --output-dir /tmp/kubehound --debug
./kubehound collector s3 --bucket kubehound --region us-east-1