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

fix bug

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