fix(stackdriver): pull mesh uid from config#18655
fix(stackdriver): pull mesh uid from config#18655istio-testing merged 2 commits intoistio:masterfrom
Conversation
Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
|
@geeknoid what do I do about this failed |
|
/test gencheck_istio |
|
/test integ-security-k8s-tests_istio |
|
@bianpengyuan @mandarjog can you please take a look? this is needed to properly populate mesh id (and will be needed for a backport to 1.2, 1.3, 1.4). Big questions: OK to override |
|
If we are passing in the mesh_uid from config instead of fetching from metadata server during runtime, why not just config metric labels and log labels directly? |
|
@bianpengyuan the idea, as I understood it, was to simplify the number of places where that config had to be set. and we still need a (backwards-compatible) way to set the mesh_uid for edges too (which the template does not include). |
Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
|
/test integ-istioio-k8s-tests_istio |
|
In response to a cherrypick label: #18655 failed to apply on top of branch "release-1.4": |
|
@douglas-reid: The following test failed, say
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
* fix(stackdriver): pull mesh uid from config Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com> * rerun make gen Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
* fix(stackdriver): pull mesh uid from config Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com> * rerun make gen Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
* fix(stackdriver): pull mesh uid from config Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com> * rerun make gen Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
* fix(stackdriver): pull mesh uid from config Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com> * rerun make gen Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
This PR updates the logic for
mesh_uidcalculation for the stackdriver adapter (in particular,metricsandedgeshandling).The prior design was to use the GCE metadata server, but plans change. This now accepts the argument as a config-time param.
Fixes #17952.
Signed-off-by: Douglas Reid douglas-reid@users.noreply.github.com