Skip to content

infracollect

Collect all your infrastructure data from anywhere

Install infracollect:

Terminal window
go install github.com/infracollect/infracollect/cmd/infracollect@latest

Create a job.yaml file:

apiVersion: v1
kind: CollectJob
metadata:
name: test
spec:
collectors:
- id: kind
terraform:
provider: hashicorp/kubernetes
args:
config_path: ~/.kube/config
config_context: kind-kind
steps:
- id: deployments
collector: kind
terraform_datasource:
name: kubernetes_resources
args:
api_version: apps/v1
kind: Deployment
namespace: kube-system

And run the job:

Terminal window
infracollect collect job.yaml

Enjoy collecting all your infrastructure data and have fun processing it 🎉!

Collectors

Edit src/content/docs/index.mdx to see this page change.

Transformers

Delete template: splash in src/content/docs/index.mdx to display a sidebar on this page.

Sinks

Add Markdown or MDX files to src/content/docs to create new pages.