Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve HPA analyzer to check ScaleTargetRef resources #283

Merged
merged 9 commits into from
Apr 18, 2023

Conversation

rakshitgondwal
Copy link
Member

Closes #261

📑 Description

  • Modified hpa.go to check if the ScaleTargetRef has resource configured.
  • Modified hpaAnalyzer_test.go to update the test cases to include the Resources.Requests and Resource.Limits.

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
@rakshitgondwal rakshitgondwal requested review from a team as code owners April 15, 2023 18:08
rakshitgondwal and others added 3 commits April 17, 2023 17:41
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com>
@matthisholleville
Copy link
Contributor

Good job @rakshitgondwal ! lgtm

@AlexsJones AlexsJones merged commit 7173203 into k8sgpt-ai:main Apr 18, 2023
@rakshitgondwal
Copy link
Member Author

Thank you for the merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feature: improve HPA analyzer to check if ScaleTargetRef have ressources configured
3 participants