service yml 통합
This commit is contained in:
44
bussiness1-svc.yml
Normal file
44
bussiness1-svc.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: chl-svc
|
||||
namespace: bussiness1
|
||||
spec:
|
||||
selector:
|
||||
app: bussiness1-chl
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: tomcat
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8077
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mci-svc
|
||||
namespace: bussiness1
|
||||
spec:
|
||||
selector:
|
||||
app: bussiness1-mci
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: tomcat
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8077
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user