From b72aee2aec1247b7014ee652c4383c9facd2c15e Mon Sep 17 00:00:00 2001 From: Krishna Harsha Voora Date: Tue, 26 Nov 2024 21:03:51 +0530 Subject: [PATCH] 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 --- 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..43ec8925 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-pods-l3 + {{ else }} + - name: udn-density-pods-l2 + {{ 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