This is a little script that will report all images used in your kubernetes cluster.
Actually, it supports these Kind
:
Deployment
Job
Pod
Cronjob
Statefulset
Daemonset
Workflow
WorkflowTemplate
CronWorkflow
ClusterWorkflowTemplate
You can get the binary on the release section
Or you can get it with:
go install github.com/pawndev/k8simages-list/cmd/k8simages-list
The binary can be configured with these environment variables:
name | summary | default |
---|---|---|
K8S_NAMESPACE | the namespace where to fetch images | '' => all namespaces |
K8S_CONTEXT | the context to use | your active context |
And then you can start it with:
K8S_NAMESPACE=default K8S_CONTEXT=preprod k8simages-list