apiVersion: v1
kind: Service
metadata:
  namespace: todo-application
  name: todo-backend
spec:
  type: ClusterIP
  selector:
    app: dev-kub-todolist-backend-2-4
  ports:
    - name: todolist-backend
      port: 3001
      protocol: TCP
      targetPort: 3001