K8s development
Compare changes
+ 36
− 27
@@ -99,19 +99,20 @@ def parallel_wait():
@@ -99,19 +99,20 @@ def parallel_wait():
@@ -130,7 +131,7 @@ def write_template(method, image, command, workdir, parallel, **kwargs):
@@ -130,7 +131,7 @@ def write_template(method, image, command, workdir, parallel, **kwargs):
@@ -140,17 +141,6 @@ def write_template(method, image, command, workdir, parallel, **kwargs):
@@ -140,17 +141,6 @@ def write_template(method, image, command, workdir, parallel, **kwargs):
doc['spec']['template']['spec']['containers'][0]['name'] = "{}-{}-deployment-{}".format(default_name, method, timestamp)
doc['spec']['template']['spec']['containers'][0]['args'] = ["/bin/bash", "-c", DoubleQuotedScalarString(command)]
@@ -161,6 +151,18 @@ def write_template(method, image, command, workdir, parallel, **kwargs):
@@ -161,6 +151,18 @@ def write_template(method, image, command, workdir, parallel, **kwargs):
@@ -193,8 +195,14 @@ def run_job(kubernetes_config, label, parallel):
@@ -193,8 +195,14 @@ def run_job(kubernetes_config, label, parallel):
@@ -209,6 +217,7 @@ def run_wait(command):
@@ -209,6 +217,7 @@ def run_wait(command):