apiVersion: v1
kind: Service
metadata:
  name: room-service
  labels:
    app: room-service
    group: ca.zhoozhoo.spring.cloud.kubernetes
spec:
  ports:
  - name: http
    port: &target 8080
    protocol: TCP
    targetPort: *target
  selector:
    app: room-service
    group: ca.zhoozhoo.spring.cloud.kubernetes
  type: NodePort
