kubernetes-nmstate icon indicating copy to clipboard operation
kubernetes-nmstate copied to clipboard

e2e: Use metrics container when executing commands

Open mkowalski opened this issue 1 year ago • 6 comments
trafficstars

This PR adds explicit -c nmstate-metrics to the command invocations that use kubectl.sh exec [...]. This should not change the current behaviour as by default we execture them in this container, however it's been noticed that the following stderr is produced

stderr: Defaulted container "nmstate-metrics" out of: nmstate-metrics, kube-rbac-proxy

so for being explict, we are defining where to execute the command.

Release note:

NONE

mkowalski avatar May 06 '24 12:05 mkowalski