Skip to content

Stop sending unexpected format frame from live-crawler to sas #357

@tatsuhirochiba

Description

@tatsuhirochiba

Description

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)

How to Reproduce

Log Output

Debugging Commands Output

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Output of python --version:

(paste your output here)

Output of pip freeze:

(paste your output here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions