kind: Service
apiVersion: v1
metadata:
  name: spark-master
spec:
  ports:
    - name: p1
      port: 7077
      targetPort: 7077
    - name: p2
      port: 8080
      targetPort: 8080
  selector:
    app: spark-master
  type: LoadBalancer
