Upgrade \ Move RunCommandOnHost to using client-go api.
Closed this issue · 0 comments
Currently this project uses the uitls function called RunCommandOnHost
which runs kubectl
command under the hood on various occasions using os.exec
, this feature upgrade request work item is open to scope the work which is required to move away from this.
Key challenges:
Translating the kubectl
to the exact command is something we need to figure out, translating the kubectl
what we run from command prompt needs to be implemented via API, might be best approach will be to write a separate helper and start this by translating one collector which uses kubctl
under the hood.
Some helpful link:
Thanks,
FYI : few co-maintainer and founders - cc: @arnaud-tincelin , @JunSun17 or anyone interested and reading this (Please feel free to add any solutions which you have in mind)