From b5a8f65c92e61568f6be2ce20b90ef45f2dcd739 Mon Sep 17 00:00:00 2001 From: nkinkade Date: Thu, 15 Aug 2024 11:33:34 -0600 Subject: [PATCH] Adds flag --label=loadbalanced to both NDT DaemonSets (#896) This will add a new server metadata field to all NDT measurements that will make it possible to query NDT data for measurements that were made to MIGs (i.e., load balanced). --- k8s/daemonsets/experiments/ndt-virtual.jsonnet | 1 + k8s/daemonsets/experiments/ndt.jsonnet | 1 + 2 files changed, 2 insertions(+) diff --git a/k8s/daemonsets/experiments/ndt-virtual.jsonnet b/k8s/daemonsets/experiments/ndt-virtual.jsonnet index 1bd6c239..cdcc3c31 100644 --- a/k8s/daemonsets/experiments/ndt-virtual.jsonnet +++ b/k8s/daemonsets/experiments/ndt-virtual.jsonnet @@ -73,6 +73,7 @@ exp.ExperimentNoIndex(expName, 'pusher-' + std.extVar('PROJECT_ID'), 'none', dat '-label=network-tier=@' + exp.Metadata.path + '/network-tier', '-label=zone=@' + exp.Metadata.path + '/zone', '-label=managed=@' + exp.Metadata.path + '/managed', + '-label=loadbalanced=@' + exp.Metadata.path + '/loadbalanced', ], env: [ { diff --git a/k8s/daemonsets/experiments/ndt.jsonnet b/k8s/daemonsets/experiments/ndt.jsonnet index c37fbb4c..c23edbd7 100644 --- a/k8s/daemonsets/experiments/ndt.jsonnet +++ b/k8s/daemonsets/experiments/ndt.jsonnet @@ -46,6 +46,7 @@ exp.Experiment(expName, 2, 'pusher-' + std.extVar('PROJECT_ID'), "none", datatyp '-label=type=physical', '-label=deployment=stable', '-label=managed=@' + exp.Metadata.path + '/managed', + '-label=loadbalanced=@' + exp.Metadata.path + '/loadbalanced', ], env: [ {