apiVersion: v1
kind: Service
metadata:
  name: example-app
  namespace: example-app
spec:
  type: LoadBalancer
  ports:
  - name: http
    port: 80
    targetPort: 8080
  selector:
    app: example-app
