apiVersion: v1
kind: Service
metadata:
  name: java2days-ratings-backend-service
  namespace: java2days
spec:
  ports:
    - port: 80
      protocol: TCP
      targetPort: 8080
      name: http
  selector:
    app: java2days-ratings-backend
  type: NodePort
