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

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

What I see on Gitlab's UI: Screen_Shot_2018-07-03_at_09.12.21

Screen_Shot_2018-07-03_at_09.12.08

Screen_Shot_2018-07-03_at_09.12.14

Screen_Shot_2018-07-03_at_09.12.01

What I see on kubernetes: Screen_Shot_2018-07-03_at_09.15.21

Output of checks

This bug happens on GitLab.com

Edited Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading