apiVersion: v1
kind: Service
metadata:
  labels:
    app: eni-todo
  name: eni-todo
spec:
  ports:
  - port: 8080
    name: http8080
    protocol: TCP
    targetPort: 8080
#### Section for jgroup clustering
  - port: 4000
    name: nio-receiver
    protocol: TCP
    targetPort: 4000
  - port: 45564
    name: m-cast-service
    protocol: TCP
    targetPort: 45564
  selector:
    app: eni-todo
  sessionAffinity: ClientIP
