mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
kubernetes mode configuration
This commit is contained in:
parent
58f9f19094
commit
2fd2ac8c39
1 changed files with 5 additions and 0 deletions
|
|
@ -665,6 +665,10 @@ public class ZeppelinConfiguration extends XMLConfiguration {
|
|||
return getInt(ConfVars.ZEPPELIN_CLUSTER_HEARTBEAT_TIMEOUT);
|
||||
}
|
||||
|
||||
public String getK8sMode() {
|
||||
return getString(ConfVars.ZEPPELIN_K8S_MODE);
|
||||
}
|
||||
|
||||
public String getK8sKubectlCmd() {
|
||||
return getString(ConfVars.ZEPPELIN_K8S_KUBECTL);
|
||||
}
|
||||
|
|
@ -828,6 +832,7 @@ public class ZeppelinConfiguration extends XMLConfiguration {
|
|||
ZEPPELIN_CLUSTER_HEARTBEAT_INTERVAL("zeppelin.cluster.heartbeat.interval", 3000),
|
||||
ZEPPELIN_CLUSTER_HEARTBEAT_TIMEOUT("zeppelin.cluster.heartbeat.timeout", 9000),
|
||||
|
||||
ZEPPELIN_K8S_MODE("zeppelin.k8s.mode", "auto"), // auto | on | off
|
||||
ZEPPELIN_K8S_KUBECTL("zeppelin.k8s.kubectl", "kubectl"), // kubectl command
|
||||
ZEPPELIN_K8S_NAMESPACE("zeppelin.k8s.namespace", "default"),
|
||||
ZEPPELIN_K8S_TEMPLATE_DIR("zeppelin.k8s.template.dir", "k8s"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue