From 8148093f5ac902ff5c334309d2cd3f7ab3cff33e Mon Sep 17 00:00:00 2001 From: Alon Maor <48641682+alonmr@users.noreply.github.com> Date: Sun, 24 Dec 2023 13:04:07 +0200 Subject: [PATCH] [MLRun] Add API default container [Integ_3.5] (#1012) --- stable/mlrun/Chart.yaml | 2 +- stable/mlrun/templates/api-chief-deployment.yaml | 2 ++ stable/mlrun/templates/api-worker-deployment.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/mlrun/Chart.yaml b/stable/mlrun/Chart.yaml index 82384aac5..185c27dad 100644 --- a/stable/mlrun/Chart.yaml +++ b/stable/mlrun/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mlrun -version: 0.8.31 +version: 0.8.32 appVersion: 1.4.0 description: Machine Learning automation and tracking sources: diff --git a/stable/mlrun/templates/api-chief-deployment.yaml b/stable/mlrun/templates/api-chief-deployment.yaml index 8d56a7316..1e0088b52 100644 --- a/stable/mlrun/templates/api-chief-deployment.yaml +++ b/stable/mlrun/templates/api-chief-deployment.yaml @@ -21,6 +21,8 @@ spec: metadata: labels: {{- include "mlrun.api.chief.selectorLabels" . | nindent 8 }} + annotations: + kubectl.kubernetes.io/default-container: {{ template "mlrun.name" . }}-{{ .Values.api.name }} spec: {{- with .Values.api.image.pullSecrets }} imagePullSecrets: diff --git a/stable/mlrun/templates/api-worker-deployment.yaml b/stable/mlrun/templates/api-worker-deployment.yaml index 33820896d..abad504c6 100644 --- a/stable/mlrun/templates/api-worker-deployment.yaml +++ b/stable/mlrun/templates/api-worker-deployment.yaml @@ -15,6 +15,8 @@ spec: metadata: labels: {{- include "mlrun.api.worker.selectorLabels" . | nindent 8 }} + annotations: + kubectl.kubernetes.io/default-container: {{ template "mlrun.name" . }}-{{ .Values.api.name }} spec: {{- with .Values.api.image.pullSecrets }} imagePullSecrets: