Commit a55637e7 authored by zhangyichen's avatar zhangyichen

部署配置文件提交

parent 3686b83f
...@@ -16,8 +16,8 @@ pipeline { ...@@ -16,8 +16,8 @@ pipeline {
REGISTRY = 'harbor.91isoft.com:100' REGISTRY = 'harbor.91isoft.com:100'
HARBOR_NAMESPACE = 'cy' HARBOR_NAMESPACE = 'cy'
GITLAB_ACCOUNT = 'licongyang@91isoft.com' GITLAB_ACCOUNT = 'licongyang@91isoft.com'
APP_NAME = '91isoft-sys-web' APP_NAME = 'network_minor_web'
GIT_LAB_PROJECT = 'http://gitlab.91isoft.com:90/zhangbotao/91isoft_sys_web.git' GIT_LAB_PROJECT = 'http://gitlab.91isoft.com:90/zhangyichen/network_minor_web.git'
} }
stages { stages {
......
...@@ -2,24 +2,24 @@ apiVersion: apps/v1 ...@@ -2,24 +2,24 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
labels: labels:
app: rcisoft-sys app: network-minor
component: rcisoft-sys-web component: network-minor-web
tier: front tier: front
name: rcisoft-sys-deploy name: network-minor-deploy
namespace: rcisoft-v2 namespace: rcisoft-v2
spec: spec:
progressDeadlineSeconds: 600 progressDeadlineSeconds: 600
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: rcisoft-sys app: network-minor
component: rcisoft-sys-web component: network-minor-web
tier: front tier: front
template: template:
metadata: metadata:
labels: labels:
app: rcisoft-sys app: network-minor
component: rcisoft-sys-web component: network-minor-web
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-sys name: network-minor
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 80 - containerPort: 80
...@@ -86,19 +86,19 @@ spec: ...@@ -86,19 +86,19 @@ spec:
kind: Service kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: rcisoft-sys-svc name: network-minor-svc
namespace: rcisoft-v2 namespace: rcisoft-v2
labels: labels:
app: rcisoft-sys app: network-minor
spec: spec:
ports: ports:
- name: tcp-80 - name: tcp-80
protocol: TCP protocol: TCP
port: 80 port: 80
targetPort: 80 targetPort: 80
nodePort: 7880 nodePort: 7881
selector: selector:
app: rcisoft-sys app: network-minor
component: rcisoft-sys-web component: network-minor-web
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