mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-13 07:31:51 +00:00
c5fb11e815
Co-authored-by: Sergio <sergio@prowler.com>
1020 B
1020 B
In-Cluster Execution
For in-cluster execution, you can use the supplied yaml files inside /kubernetes:
They can be used to run Prowler as a job within a new Prowler namespace:
kubectl apply -f kubernetes/job.yaml
kubectl apply -f kubernetes/prowler-role.yaml
kubectl apply -f kubernetes/prowler-rolebinding.yaml
kubectl get pods --namespace prowler-ns --> prowler-XXXXX
kubectl logs prowler-XXXXX --namespace prowler-ns
???+ note
By default, prowler will scan all namespaces in your active Kubernetes context. Use the --namespace flag to specify the namespace(s) to be scanned.