apiVersion: v1
kind: Service
metadata:
  name: petclinic-service
spec:
  selector:
    app: spring-petclinic
  ports:
  - name: http
    protocol: TCP
    port: 8081
    targetPort: 8081
  type: NodePort
