Recently, I installed kubesphere in my own kubernetes cluster, deployed two deployments, each of them was setted one replica, they are different names, but the same selector and same template.Two pods was created, as kubernetes, these two pods should belong to different deployments, but as you can see as below screenshot, these two pods are belonging to the same deployment. I think the comparison between the name of pod and name of rs or deployment shoud be taken into consideration, not only the selector and hash value of template.
Versions Used
KubeSphere: v3.1.1
Kubernetes: v1.21.2
Environment
How many nodes and their hardware configuration:
For example: CentOS 7.9 / 1 masters: 4cpu/16g; 2 nodes: 8cpu/32g
(and other info are welcomed to help us debugging)
How To Reproduce
Steps to reproduce the behavior:
Deploy two deployments that they are different names, but the same selector and same template
The text was updated successfully, but these errors were encountered:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Recently, I installed kubesphere in my own kubernetes cluster, deployed two deployments, each of them was setted one replica, they are different names, but the same selector and same template.Two pods was created, as kubernetes, these two pods should belong to different deployments, but as you can see as below screenshot, these two pods are belonging to the same deployment. I think the comparison between the name of pod and name of rs or deployment shoud be taken into consideration, not only the selector and hash value of template.

Versions Used
KubeSphere: v3.1.1
Kubernetes: v1.21.2
Environment
How many nodes and their hardware configuration:
For example: CentOS 7.9 / 1 masters: 4cpu/16g; 2 nodes: 8cpu/32g
(and other info are welcomed to help us debugging)
How To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: