---
apiVersion: v1
kind: Service
metadata:
  name: api
spec:
  type: ClusterIP
  ports:
    - port: 8080 #internal port to be used by services that want to communicate with go-api pods
      targetPort: 8080 #external container port
  selector:
    app: api
