kubectl-detector-for-docker-socket
kubectl-detector-for-docker-socket copied to clipboard
Unlisted docker mount if owner is not known
During a scan of a cluster, there may be custom resource definitions which own a pod beyond the stated list on the readme.md file - for example runners from summerwind.
Whilst an error about these owners is presented, the pod itself is not scanned. As such any pods mounting the docker host socket with an unknown owner will not be presented in the conclusion table.
I propose this tool scans the pod for the mount in the event the owner is unknown instead of ignoring it.
Replication: Install an addon which controls pods, for example SummerWind Action Runners Mount the Docker host socket with a runner Run the tool
Output:
could not find resource manager for type Runner for pod my-docker-9k99f-12345
NAMESPACE TYPE NAME STATUS