Commit e28ae753 authored by zhangdongdong's avatar zhangdongdong

Update k8s-deploy-template.yaml

parent afd97851
...@@ -2,7 +2,7 @@ apiVersion: apps/v1 ...@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {APP_NAME} name: {APP_NAME}
namespace: longjingshan-dev namespace: {NAMESPACE}
labels: labels:
app: {APP_NAME} app: {APP_NAME}
spec: spec:
...@@ -23,7 +23,7 @@ spec: ...@@ -23,7 +23,7 @@ spec:
image: {IMAGE} image: {IMAGE}
imagePullPolicy: "Always" imagePullPolicy: "Always"
ports: ports:
- containerPort: 8082 - containerPort: {PORT}
readinessProbe: readinessProbe:
httpGet: httpGet:
scheme: HTTP scheme: HTTP
......
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