|
@@ -310,7 +310,7 @@ public class EnvironmentServiceImpl implements EnvironmentService {
|
|
|
.build());
|
|
.build());
|
|
|
List<Pod> pods = podApi.getByCondition(K8sObjectRequest
|
|
List<Pod> pods = podApi.getByCondition(K8sObjectRequest
|
|
|
.builder()
|
|
.builder()
|
|
|
- .name(labelValue)
|
|
|
|
|
|
|
+ .labels(Collections.singletonMap(ResourceLabel.RESOURCE.getCode(), labelValue))
|
|
|
.namespace(applicationProperties.getDeploymentNamespace())
|
|
.namespace(applicationProperties.getDeploymentNamespace())
|
|
|
.build());
|
|
.build());
|
|
|
// 优先级先看pod,信息比较多
|
|
// 优先级先看pod,信息比较多
|