Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 690 Bytes

observing.md

File metadata and controls

15 lines (12 loc) · 690 Bytes

Observing and Troubleshooting

This sections shows how to observe the scan job and get logs.

Watching In Flight Jobs

The scan will run inside the job which creates a pod. Both the job and pod will be cleaned up automatically after completion. You can set a watch on the job and pod before applying a new scan to observe the job deploy.

watch kubectl get scantemplates,scanpolicies,sourcescans,imagescans,pods,jobs

Troubleshooting

If you run into any problem or face a non-expected behavior, you can always address the logs to get some more feedback on what's going on.

kubectl -n scan-link-system logs -f deployment/scan-link-controller-manager -c manager