I've understood that, if you set the option include_resources, it will only work with the resources given.
I've seen, when debugging, that even though the application is set to work (in my case) with namespaces, It asks the api for all the resources and the skips them.
Wouldn't be better directly not calling the api for all the resources and just call for the required ones? This would prevent too many unneeded calls and prevent congesting the API server for no reason.
I've understood that, if you set the option
include_resources
, it will only work with the resources given.I've seen, when debugging, that even though the application is set to work (in my case) with namespaces, It asks the api for all the resources and the skips them.
Wouldn't be better directly not calling the api for all the resources and just call for the required ones? This would prevent too many unneeded calls and prevent congesting the API server for no reason.
Log (cropped):
The application is run with this options:
--once --include-resources=namespaces --debug