apiVersion: v1
kind: Service
metadata:
  name: app-service
  labels:
    app: app
spec: 
  type: LoadBalancer
  selector:
    app: app
  ports:
    - protocol: TCP
      name: http
      port: 80
      targetPort: 8080