Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Respect externalIP setting in spark-submit for jar upload to NodePort service #58

@ash211

Description

@ash211

For a use case @mccheah and I are building, I think we'll need to support NodePort's externalIp metadata. This comes in two places:

  • when set the spark-submit script will place the given IP as the external IP on the NodePort service created on the driver (for jar uploads, webui, etc)
  • when uploading local jars to the driver pod for execution, spark-submit will use the external IP if present on the service, rather than randomly selecting a pod IP and using that (otherwise default behavior)

A strawman name for the new flag would be spark.kubernetes.driver.externalIP

https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions