configure namespace

This commit is contained in:
Lee moon soo 2018-11-23 07:35:34 +09:00
parent a4072e6b90
commit 2960dcb878

View file

@ -267,6 +267,7 @@ public class K8sRemoteInterpreterProcess extends RemoteInterpreterProcess {
options.append("--master k8s://https://kubernetes.default.svc");
options.append(" --deploy-mode client");
options.append(" --conf spark.kubernetes.namespace=" + kubectl.getNamespace());
options.append(" --conf spark.executor.instances=1");
options.append(" --conf spark.driver.pod.name=" + getPodName());
options.append(" --conf spark.kubernetes.container.image=spark:2.4.0");