This change distinguishes and filters by pod/container and service/endpoint in the respective sub-SDs.
This change extracts pod discovery into its own type.