apiVersion: v1
kind: Service
metadata:
  labels:
    app: sample-spring-boot
    service: sample-spring-boot-green
  name: sample-spring-boot-green
spec:
  ports:
  - name: 8080-http
    port: 8080
    protocol: TCP
    targetPort: 8080
  - name: 8778-tcp
    port: 8778
    protocol: TCP
    targetPort: 8778
  - name: 9779-tcp
    port: 9779
    protocol: TCP
    targetPort: 9779
  selector:
    service: sample-spring-boot-green
    app: sample-spring-boot
