16 lines
257 B
YAML
16 lines
257 B
YAML
|
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
|