kubernetes-handbook/manifests/spark-standalone/spark-master-service.yaml

16 lines
257 B
YAML
Raw Normal View History

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