apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/name: web1
  name: web1
  namespace: configmap  
spec:
  ports:
  - port: 80
    protocol: TCP
    targetPort: 80
  selector:
    app.kubernetes.io/name: web1
  type: LoadBalancer
