Gitlab Kubernetes integration pod visualisation is incorrect, when multiple components are deployed
Summary
A combination of pods are visualised (green boxes) at the Environments menu in Gitlab UI, when 2 or more different services are deployed to a Kubernetes environment.
Steps to reproduce
Deploy 2 or more different containers to the same environment.
Example Project
What is the current bug behavior?
If I deploy 2 services to a kubernetes environment, I can see 4 green boxes, instead of 2. If I scale up to 2 replicas one of the deployment, I can see 6 green boxes, instead of 3. If I deploy another deployment (3 deployments, 4 pods total), I can see 12 boxes, instead of 4. If I scale down to 1 replica the upscaled deployment, I can see 9 boxes, instead of 3. So I think, I can see all the combination of green boxes, based on the number of pod names and labels.
What is the expected correct behavior?
See as many boxes, as many pods are actually running on the kubernetes environment.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com




