kind: Service
apiVersion: v1
metadata:
  name: spark-master
  namespace: spark-cluster
  labels:
    component: spark-master-service
spec:
  ports:
    - port: 7077
      targetPort: 7077
  selector:
    component: spark-master
