From d6e87b701f85515376e16ce67dace2d9adcd6db7 Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Wed, 19 Apr 2023 02:20:52 +0800 Subject: [PATCH] Add README.md --- README.md | 1 + k8s-deploy-template.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2fffc91 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +### 此项目文件在构建时均采用 Velocity 模板引擎进行变量替换,所以可以在文件中使用 Velocity 语法进行条件控制 \ No newline at end of file diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index e36941c..94a04ce 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -46,7 +46,6 @@ spec: protocol: TCP - containerPort: 1024 protocol: TCP - #if($PROFILE != 'dev') startupProbe: httpGet: scheme: HTTP @@ -55,6 +54,7 @@ spec: initialDelaySeconds: 20 failureThreshold: 18 periodSeconds: 5 + #if($PROFILE != 'dev') livenessProbe: httpGet: scheme: HTTP -- GitLab