service.yaml 202 Bytes
Newer Older
gasxchenzho's avatar
gasxchenzho committed
1
2
3
4
5
6
7
8
9
10
11
12
apiVersion: v1
kind: Service
metadata:
  name: data-collection-service
spec:
  type: NodePort
  selector:
    app: data_collection
  ports:
    - port: 8180
      targetPort: 8180
      nodePort: 30000