apiVersion: v1
kind: Service
metadata:
  labels:
    application: k8swebapp  
  name: k8swebapp
spec:
  selector:
    application: k8swebapp
  type: LoadBalancer
  ports:
  - name: webapp
    port: 80
    protocol: TCP
    targetPort: 8080