You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When running a test, kube-burner uses the user's cwd to look for all the configuration files it needs, that's to say, if we configure an objectTemplate pointing to a file on a relative path, that path will be relative to the cwd. For example, a config file with the following objects declaration:
objects:
- objectTemplate: foo.yml
Will force to run kube-burner from the same dir where the config file is. That's not very optimal since forces the user to change of directory whenever it has to run a workload from a config file stored in a different path.
Describe the solution you'd like
It would be nice to make kube-burner to use the dirname of the configuration file as cwd, so that we can run a kube-burner workload w/o changing directory.
Potential issues
There're situation when kube-burner can dump metrics into files, where should be dump them?, in the user's cwd or in the config file dirname
Is your feature request related to a problem? Please describe.
When running a test, kube-burner uses the user's cwd to look for all the configuration files it needs, that's to say, if we configure an
objectTemplate
pointing to a file on a relative path, that path will be relative to the cwd. For example, a config file with the following objects declaration:Will force to run kube-burner from the same dir where the config file is. That's not very optimal since forces the user to change of directory whenever it has to run a workload from a config file stored in a different path.
Describe the solution you'd like
It would be nice to make kube-burner to use the
dirname
of the configuration file ascwd
, so that we can run a kube-burner workload w/o changing directory.Potential issues
There're situation when kube-burner can dump metrics into files, where should be dump them?, in the user's
cwd
or in the config filedirname
This RFE is a first step to mitigate #330
The text was updated successfully, but these errors were encountered: