apiVersion: v1
kind: Service
metadata:
  name: k8s-petclinic-svc
  namespace: petclinic
spec:
  selector: 
    app: petclinic
  ports:
    - protocol: TCP
      port: 8080
      targetPort: 8080
  # type: LoadBalancer