GitHub user foxish opened a pull request:
https://github.com/apache/spark/pull/20187
[SPARK-22992][K8S] Remove assumption of the DNS domain
## What changes were proposed in this pull request?
Remove the use of FQDN to access the driver because it assumes that it's
set up in a DNS zone - `cluster.local` which is common but not ubiquitous
Note that we already access the in-cluster API server through
`kubernetes.default.svc`, so, by extension, this should work as well.
The alternative is to introduce DNS zones for both of those addresses.
## How was this patch tested?
Unit tests
cc @vanzin @liyinan926 @mridulm @mccheah
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/foxish/spark cluster.local
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20187.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20187
----
commit bfaf4662407316faa544d9d272e7940ae3ce1db0
Author: foxish <ramanathana@...>
Date: 2018-01-08T18:07:13Z
Remove assumption of the cluster domain
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]