Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade horizontal scaling information (Keda) (#633)
* initialize kedaClient * fix hpa metrics * log request errors as warnings * insert HPA for controller test * remove unused constant * add client request logging * add client request logging (simplified) * add client request logging (simplified) * add client request logging (simplified) * refactor GetComponentsForDeployment * test responses from scaledobjects and hpa * test responses from scaledobjects and hpa * fix unused import * update swaggerui * remove unused function * Update api/utils/logs/roundtrip_logger.go Co-authored-by: Nils Gustav Stråbø <65334626+nilsgstrabo@users.noreply.github.com> * debugging * handle client err seperatley from request error * move getComponentStateFromSpec to environments package * use kubequery where possible, remove unsuded fields * cleanup deprecated fields, add lint ignore * use same status code field as gin middleware * Update api/deployments/component_handler.go Co-authored-by: Nils Gustav Stråbø <65334626+nilsgstrabo@users.noreply.github.com> * Update api/deployments/component_handler.go Co-authored-by: Nils Gustav Stråbø <65334626+nilsgstrabo@users.noreply.github.com> --------- Co-authored-by: Nils Gustav Stråbø <65334626+nilsgstrabo@users.noreply.github.com>
- Loading branch information