core 추가
This commit is contained in:
14
bussiness1-core-svc.yml
Normal file
14
bussiness1-core-svc.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: core-svc
|
||||||
|
namespace: bussiness1
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: bussiness1-core
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- name: tomcat
|
||||||
|
protocol: TCP
|
||||||
|
port: 8080
|
||||||
|
targetPort: 8077
|
||||||
23
bussiness1-core.template
Normal file
23
bussiness1-core.template
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: bussiness1-core
|
||||||
|
namespace: bussiness1
|
||||||
|
labels:
|
||||||
|
app: bussiness1-core
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: bussiness1-core
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: bussiness1-core
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: bussiness1-core
|
||||||
|
image: harbor.elppa.xyz/test/intermax:{ver}
|
||||||
|
ports:
|
||||||
|
- name: tomcat
|
||||||
|
protocol: TCP
|
||||||
|
containerPort: 8077
|
||||||
23
bussiness1-core.yml
Normal file
23
bussiness1-core.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: bussiness1-core
|
||||||
|
namespace: bussiness1
|
||||||
|
labels:
|
||||||
|
app: bussiness1-core
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: bussiness1-core
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: bussiness1-core
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: bussiness1-core
|
||||||
|
image: harbor.elppa.xyz/test/intermax:test18
|
||||||
|
ports:
|
||||||
|
- name: tomcat
|
||||||
|
protocol: TCP
|
||||||
|
containerPort: 8077
|
||||||
@@ -19,7 +19,7 @@ spec:
|
|||||||
image: harbor.elppa.xyz/test/intermax:{ver}
|
image: harbor.elppa.xyz/test/intermax:{ver}
|
||||||
env:
|
env:
|
||||||
- name: core_url
|
- name: core_url
|
||||||
value: "http://app.10.10.52.7.nip.io:32080/bussiness1/"
|
value: "http://core-svc.bussiness1.svc:8080/bussiness1/core.jsp"
|
||||||
ports:
|
ports:
|
||||||
- name: tomcat
|
- name: tomcat
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ spec:
|
|||||||
image: harbor.elppa.xyz/test/intermax:test18
|
image: harbor.elppa.xyz/test/intermax:test18
|
||||||
env:
|
env:
|
||||||
- name: core_url
|
- name: core_url
|
||||||
value: "http://app.10.10.52.7.nip.io:32080/bussiness1/"
|
value: "http://core-svc.bussiness1.svc:8080/bussiness1/core.jsp"
|
||||||
ports:
|
ports:
|
||||||
- name: tomcat
|
- name: tomcat
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
Reference in New Issue
Block a user