mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
configure namespace
This commit is contained in:
parent
a4072e6b90
commit
2960dcb878
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue