Commit a55637e7 authored by zhangyichen's avatar zhangyichen

部署配置文件提交

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