Thanks to elmiko for helping me get this right...
(0) write down your `router ip` (not api server ip) .
(1) click on openshift conssole ,
(2) find the service you want (spark-master)
(3) then set `spark.{router ip}.xip.io` as the value of the Hostname and
(4) use plain old / as the value of the Path. Then you can do `curl http://spark.{router ip}.xip.io/` to connect to your spark master

note that spark (the url shown in here) is a silly example bc its a non http protocol. xip.io is convenetionally used to embed domain info with dns to a address that is going to route on the http domain
ReplyDelete