vmware / weathervane

Virtual-Infrastructure and Cloud Performance Benchmark
Other
153 stars 39 forks source link

Allow workloadcontroller to contact stats service on localhost #165

Closed hrosenbe closed 4 years ago

hrosenbe commented 4 years ago

Currently the workload controller uses its service name (wkldcontroller) to contact the stats service, which runs in the same container. However, some Kubernetes networking providers do not allow traffic to hairpin to the source pod through its own service. This prevents the workload controller from starting.

This change has the workload controller contact the stats service via the localhost hostname. A separate workloadStatsHostname is used for the driver nodes so that they can still contact the stats service using the wkldcontroller service.