From e28ae7539e3c22b8ca016fe0001b689edcdbfadd Mon Sep 17 00:00:00 2001 From: zhangdongdong Date: Fri, 21 Jan 2022 15:37:22 +0800 Subject: [PATCH] Update k8s-deploy-template.yaml --- k8s-deploy-template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index d1deaf0..51cc54c 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {APP_NAME} - namespace: longjingshan-dev + namespace: {NAMESPACE} labels: app: {APP_NAME} spec: @@ -23,7 +23,7 @@ spec: image: {IMAGE} imagePullPolicy: "Always" ports: - - containerPort: 8082 + - containerPort: {PORT} readinessProbe: httpGet: scheme: HTTP -- GitLab