forked from mindol1004/msa-kiz-app
추가 'k8s/service.yaml'
This commit is contained in:
13
k8s/service.yaml
Normal file
13
k8s/service.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: eureka-server
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: eureka-server
|
||||||
|
ports:
|
||||||
|
- name: eureka-server
|
||||||
|
protocol: TCP
|
||||||
|
port: 8761
|
||||||
|
targetPort: 8761
|
||||||
|
type: NodePort
|
||||||
Reference in New Issue
Block a user