Closed kevinpollet closed 3 years ago
After some investigations, NodePort
and LoadBalancer
services are callable externally through the allocated nodePort
, but they are also callable internally through a ClusterIP
assigned automatically (more details in the documentation).
As those services are callable internally, they should be callable through Traefik Mesh which requires the creation of the corresponding shadow services.
Feature Request
Proposal
Currently, Traefik Mesh will create a shadow service for every services created in a Kubernetes cluster. As described in the documentation, a Kubernetes service can have different types:
NodePort
,LoadBalancer
,ClusterIP
andExternalName
.As Traefik Mesh is running as a daemon set, it is impossible to intercept the traffic coming through a service of type
NodePort
andLoadBalancer
. Those services should be ignored and the corresponding shadow services should not be created.