Add spark service
This commit is contained in:
parent
036ef590d2
commit
16da1df16b
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
resources: [spark-ingress.yml]
|
||||
resources: [spark-ingress.yml, spark-service.yml]
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
|
12
spark/base/spark-service.yml
Normal file
12
spark/base/spark-service.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: spark-ui-proxy
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
component: spark-ui-proxy
|
||||
type: LoadBalancer
|
Loading…
Reference in a new issue