SAS requires concrete format for live container frame (source_type=container and namespace=k8s-ns/pod-name/container-id) and image frame (source_type=image and namespace=repository/k8s-ns/image-name:tag). Since both crawlers (live and reg) run on the same node, live-crawler daemon always detects docker container creation event for reg-crawler target container. source_type env in live-crawler and reg-crawler is fixed as container and image respectively. In this situation, live crawler tries to send an unexpected namespace formatted frame to sas. (i.e. send a frame with image crawling namespace and source_type=container)
Description
SAS requires concrete format for live container frame (
source_type=container
andnamespace=k8s-ns/pod-name/container-id
) and image frame (source_type=image
andnamespace=repository/k8s-ns/image-name:tag
). Since both crawlers (live and reg) run on the same node, live-crawler daemon always detects docker container creation event for reg-crawler target container.source_type
env in live-crawler and reg-crawler is fixed ascontainer
andimage
respectively. In this situation, live crawler tries to send an unexpected namespace formatted frame to sas. (i.e. send a frame with image crawling namespace andsource_type=container
)How to Reproduce
Log Output
Debugging Commands Output
Output of
docker version
:Output of
docker info
:Output of
python --version
:Output of
pip freeze
: