From cb1be93e935d77e537534bd16ae797375df426ee Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Mon, 24 Feb 2020 09:16:16 +0100 Subject: [PATCH] Drop args from container spec The args with using the command `-d` is no longer necessary due to the fact that the images already ship with a default value of using `-f` which now runs in foreground without having to enable logging, which should significantly decrease log noise. Change-Id: Iea2f9d2d6179ea312207dd456df8d8098aa5a1c9 --- charts/zuul/templates/executor/statefulset.yaml | 5 +---- charts/zuul/templates/merger/deployment.yaml | 5 +---- charts/zuul/templates/scheduler/statefulset.yaml | 5 +---- charts/zuul/templates/web/deployment.yaml | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/charts/zuul/templates/executor/statefulset.yaml b/charts/zuul/templates/executor/statefulset.yaml index 496f847..8112358 100644 --- a/charts/zuul/templates/executor/statefulset.yaml +++ b/charts/zuul/templates/executor/statefulset.yaml @@ -23,9 +23,6 @@ spec: containers: - name: executor image: zuul/zuul-executor:latest - args: - - /usr/local/bin/zuul-executor - - -d ports: - name: logs containerPort: 7900 @@ -47,4 +44,4 @@ spec: nodeSelector: {{ toYaml . | indent 8 }} {{- end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/charts/zuul/templates/merger/deployment.yaml b/charts/zuul/templates/merger/deployment.yaml index 9250254..cdf4d5a 100644 --- a/charts/zuul/templates/merger/deployment.yaml +++ b/charts/zuul/templates/merger/deployment.yaml @@ -22,9 +22,6 @@ spec: containers: - name: merger image: zuul/zuul-merger:latest - args: - - /usr/local/bin/zuul-merger - - -d volumeMounts: - name: zuul-config mountPath: /etc/zuul @@ -41,4 +38,4 @@ spec: nodeSelector: {{ toYaml . | indent 8 }} {{- end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/charts/zuul/templates/scheduler/statefulset.yaml b/charts/zuul/templates/scheduler/statefulset.yaml index c921c80..0c5ae79 100644 --- a/charts/zuul/templates/scheduler/statefulset.yaml +++ b/charts/zuul/templates/scheduler/statefulset.yaml @@ -23,9 +23,6 @@ spec: containers: - name: launcher image: zuul/zuul-scheduler:latest - args: - - /usr/local/bin/zuul-scheduler - - -d ports: - name: gearman containerPort: {{ .Values.scheduler.gearman.port }} @@ -65,4 +62,4 @@ spec: resources: requests: storage: 80Gi -{{ end }} \ No newline at end of file +{{ end }} diff --git a/charts/zuul/templates/web/deployment.yaml b/charts/zuul/templates/web/deployment.yaml index fdfb813..148a02f 100644 --- a/charts/zuul/templates/web/deployment.yaml +++ b/charts/zuul/templates/web/deployment.yaml @@ -22,9 +22,6 @@ spec: containers: - name: web image: zuul/zuul-web:latest - args: - - /usr/local/bin/zuul-web - - -d ports: - name: zuul-web containerPort: {{ .Values.web.port }} @@ -44,4 +41,4 @@ spec: nodeSelector: {{ toYaml . | indent 8 }} {{- end }} -{{ end }} \ No newline at end of file +{{ end }}