Commit f84770de authored by 张伯涛's avatar 张伯涛

修改

parent 55835340
...@@ -2,24 +2,24 @@ apiVersion: apps/v1 ...@@ -2,24 +2,24 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
labels: labels:
app: rcisoft-NLT app: rcisoft-nlt
component: rcisoft-NLT component: rcisoft-nlt
tier: front tier: front
name: rcisoft-v2-NLT-deploy name: rcisoft-v2-nlt-deploy
namespace: rcisoft-v2 namespace: rcisoft-v2
spec: spec:
progressDeadlineSeconds: 600 progressDeadlineSeconds: 600
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: rcisoft-NLT app: rcisoft-nlt
component: rcisoft-NLT component: rcisoft-nlt
tier: front tier: front
template: template:
metadata: metadata:
labels: labels:
app: rcisoft-NLT app: rcisoft-nlt
component: rcisoft-NLT component: rcisoft-nlt
tier: front tier: front
spec: spec:
volumes: volumes:
...@@ -49,7 +49,7 @@ spec: ...@@ -49,7 +49,7 @@ spec:
# timeoutSeconds: 10 # timeoutSeconds: 10
# failureThreshold: 30 # failureThreshold: 30
# periodSeconds: 5 # periodSeconds: 5
name: rcisoft-v2-NLT name: rcisoft-v2-nlt
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8080 - containerPort: 8080
...@@ -86,10 +86,10 @@ spec: ...@@ -86,10 +86,10 @@ spec:
kind: Service kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: rcisoft-v2-NLT-svc name: rcisoft-v2-nlt-svc
namespace: rcisoft-v2 namespace: rcisoft-v2
labels: labels:
app: rcisoft-NLT app: rcisoft-nlt
spec: spec:
ports: ports:
- name: tcp-80 - name: tcp-80
...@@ -98,7 +98,7 @@ spec: ...@@ -98,7 +98,7 @@ spec:
targetPort: 80 targetPort: 80
nodePort: 30302 nodePort: 30302
selector: selector:
app: rcisoft-NLT app: rcisoft-nlt
component: rcisoft-NLT component: rcisoft-nlt
tier: front tier: front
type: NodePort type: NodePort
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