Describe the bug
An unexpected error occurred when scaning namespaces with more than 47 deployments
To Reproduce
Steps to reproduce the behavior:
Execute python krr.py simple -n "$ns" where ns is a namespace with more than 47 deployments
Prometheus found and connected successfully
Script start to calculate recomendations
See error
ERROR An unexpected error occurred
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred
Expected behavior
Complete the recomendations for all the deployments
Screenshots
Attached errors
Are you interested in contributing a fix for this?
Yes/no. If yes, we will provide guidance what parts of the code to modify and help you.
Desktop (please complete the following information):
Describe the bug An unexpected error occurred when scaning namespaces with more than 47 deployments
To Reproduce Steps to reproduce the behavior:
ERROR An unexpected error occurred http.client.RemoteDisconnected: Remote end closed connection without response During handling of the above exception, another exception occurred
Expected behavior Complete the recomendations for all the deployments
Screenshots Attached errors
Are you interested in contributing a fix for this? Yes/no. If yes, we will provide guidance what parts of the code to modify and help you.
Desktop (please complete the following information):
Additional context The cluster has many namespaces, many of them with 30 deployments, but the issue apears with namespaces 47 and 140 deployments.