K8S 部署Tidb成功后,spark连接PD报错

Hi, thanks for your response, I’ve already expose pd using NodePort and get the same error. I have spark outside (spark in AWS EMR ) of kubernetes cluster running tidb v4.

My question is tispark connector support connect to tidb operator (kubernetes) from spark cluster outside of kubernetes? This thread has the same error. TiSpark 中 pd peer UNAVAILABLE: Unable to resolve host

Whatever information you have, i’ll be thankful.

Thanks in advance.

Regrats from latam.