From 6a92d715a3d70b306ea49765411c0aee328a1c34 Mon Sep 17 00:00:00 2001 From: hougang liu Date: Fri, 17 May 2019 18:34:30 +0800 Subject: [PATCH 1/2] Fix default metricsController wrong args --- .../v1alpha2/katib-controller/metricsControllerConfigMap.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml b/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml index e49d0c5a31e..722707807a8 100644 --- a/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml +++ b/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml @@ -24,7 +24,6 @@ data: - name: {{.Trial}} image: katib/metrics-collector args: - - "./metricscollector" - "-e" - "{{.Experiment}}" - "-t" From ffe5fa8b5d73bcc9b33ca22b97e4f4b371200b82 Mon Sep 17 00:00:00 2001 From: hougang liu Date: Sat, 18 May 2019 09:08:16 +0800 Subject: [PATCH 2/2] Add command for metricsConllector deployment --- .../v1alpha1/studyjobcontroller/metricsControllerConfigMap.yaml | 2 +- .../v1alpha2/katib-controller/metricsControllerConfigMap.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/v1alpha1/studyjobcontroller/metricsControllerConfigMap.yaml b/manifests/v1alpha1/studyjobcontroller/metricsControllerConfigMap.yaml index ae64d7d463a..906341b3671 100644 --- a/manifests/v1alpha1/studyjobcontroller/metricsControllerConfigMap.yaml +++ b/manifests/v1alpha1/studyjobcontroller/metricsControllerConfigMap.yaml @@ -23,8 +23,8 @@ data: containers: - name: {{.WorkerID}} image: katib/metrics-collector + command: ["./metricscollector"] args: - - "./metricscollector" - "-s" - "{{.StudyID}}" - "-t" diff --git a/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml b/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml index 722707807a8..c81bed3ad66 100644 --- a/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml +++ b/manifests/v1alpha2/katib-controller/metricsControllerConfigMap.yaml @@ -23,6 +23,7 @@ data: containers: - name: {{.Trial}} image: katib/metrics-collector + command: ["./metricscollector"] args: - "-e" - "{{.Experiment}}"