추가 'k8s/service.yaml'

This commit is contained in:
2023-03-22 14:27:50 +09:00
parent 8c6138f4ee
commit 5c41c23e3c

13
k8s/service.yaml Normal file
View 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