kind: Service
apiVersion: v1
metadata:
  name: spark-thrift-server-service
  namespace: dataroaster-spark-thrift-server
spec:
  type: LoadBalancer
  selector:
    spark-role: driver
  ports:
    - name: jdbc-port
      port: 10016
      protocol: TCP
      targetPort: 10016