Commit 42fed070 authored by 黎博's avatar 黎博

fix bug

parent f2382c1f
...@@ -744,8 +744,8 @@ public class TkeService { ...@@ -744,8 +744,8 @@ public class TkeService {
*/ */
public Probe createHttpLivenessProbe(String path, Integer port) { public Probe createHttpLivenessProbe(String path, Integer port) {
HTTPGetAction httpGetAction = new HTTPGetActionBuilder() HTTPGetAction httpGetAction = new HTTPGetActionBuilder()
.withPath("/") .withPath(path)
.withPort(new IntOrStringBuilder().withIntVal(80).build()) .withPort(new IntOrStringBuilder().withIntVal(port).build())
.build(); .build();
Probe livenessProbe = new ProbeBuilder() Probe livenessProbe = new ProbeBuilder()
......
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