Commit aa142170 authored by 黎博's avatar 黎博

sc-task健康检查修改

parent f6120e2d
......@@ -679,8 +679,8 @@ public class K8sService {
container.setResources(resourceRequirements);
// keystone 健康检查单独处理
if (StringUtils.equals(serviceName, "keystone")) {
// keystone、sc-task 健康检查单独处理
if (StringUtils.equals(serviceName, "keystone") || StringUtils.equals(serviceName, "sc-task")) {
IntOrString httpPort = new IntOrStringBuilder().withIntVal(80).build();
HTTPGetAction httpGetAction = new HTTPGetActionBuilder()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment