Skip to content

Commit

Permalink
perf: 容器化-支持各微服务按顺序更新 TencentBlueKing#919
Browse files Browse the repository at this point in the history
支持服务下Pod的期望Label检测
  • Loading branch information
jsonwan committed Dec 2, 2022
1 parent c21abdd commit a65d65a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ private static boolean isPodHasLabels(V1Pod v1Pod, Map<String, String> requiredP
log.warn("podLabelsMap is null/empty, metaData={}", metaData);
return false;
}
log.debug("pod={},requiredPodLabelsMap={},podLabelsMap={}", v1Pod, requiredPodLabelsMap, podLabelsMap);
for (Map.Entry<String, String> entry : requiredPodLabelsMap.entrySet()) {
String requiredLabelKey = entry.getKey();
String requiredLabelValue = entry.getValue();
Expand Down
2 changes: 1 addition & 1 deletion support-files/kubernetes/charts/bk-job/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ waitForDependServices:
# 资源要求与限制
resources:
limits:
cpu: 1024m
cpu: 500m
memory: 1Gi
requests:
cpu: 125m
Expand Down

0 comments on commit a65d65a

Please sign in to comment.