From 5e6bceb622f041a5b8b3b8ddb738c560302f6ef6 Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Sun, 17 Apr 2022 00:09:54 +0800 Subject: [PATCH] update deploy file template --- k8s-deploy-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index bdb710d..200f1f3 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -28,7 +28,7 @@ spec: lifecycle: preStop: exec: - command: [ "curl","http://127.0.0.1:1024/actuator/offline" ] + command: [ "curl","-X POST","http://127.0.0.1:1024/actuator/offline" ] livenessProbe: httpGet: scheme: HTTP -- GitLab