From 41d0561039943c08414bb9dfa1beddec1816c3db Mon Sep 17 00:00:00 2001 From: Krishna Harsha Voora <14876995+krishvoor@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:32:53 +0530 Subject: [PATCH] Update the udn-density-pods metadata (#155) * Update the udn-density-pods metadata This PR updates the jobs metadata for L2/L3 according to ENABLE_LAYER_3 Signed-off-by: Krishna Harsha Voora * Renamed for backward compatibilty Signed-off-by: Krishna Harsha Voora --------- Signed-off-by: Krishna Harsha Voora --- cmd/config/udn-density-pods/udn-density-pods.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/config/udn-density-pods/udn-density-pods.yml b/cmd/config/udn-density-pods/udn-density-pods.yml index ca9075d5..1138d7a8 100644 --- a/cmd/config/udn-density-pods/udn-density-pods.yml +++ b/cmd/config/udn-density-pods/udn-density-pods.yml @@ -27,7 +27,11 @@ metricsEndpoints: {{ end }} jobs: - - name: udn-density-pods + {{ if eq .ENABLE_LAYER_3 "true" }} + - name: udn-density-l3-pods + {{ else }} + - name: udn-density-l2-pods + {{ end }} namespace: udn-density-pods jobIterations: {{.JOB_ITERATIONS}} qps: {{.QPS}} @@ -66,4 +70,4 @@ jobs: - objectTemplate: deployment-client.yml replicas: 2 inputVars: - podReplicas: 2 + podReplicas: 2 \ No newline at end of file