service yml 통합

This commit is contained in:
정훈 변
2024-04-11 10:49:43 +09:00
parent a11ed74158
commit 35c2ef34d5
4 changed files with 44 additions and 42 deletions

44
bussiness1-svc.yml Normal file
View 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