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

Add complex scaling logic for custom formula & external scaling via grpc server #4583

Closed
wants to merge 21 commits into from

Commits on Jul 19, 2023

  1. formula plus structure for external scaling

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    09e7abe View commit details
    Browse the repository at this point in the history
  2. combination works

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    7c9f1e1 View commit details
    Browse the repository at this point in the history
  3. add externalScaling health check type, help function for client, redo…

    …ne scaling logic for external calculator list
    
    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    29b6a79 View commit details
    Browse the repository at this point in the history
  4. to pull

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    3fb4c31 View commit details
    Browse the repository at this point in the history
  5. hack for recent cache error, added tests

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    d96ca2e View commit details
    Browse the repository at this point in the history
  6. fallback first iteration + conditions

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    7182fb8 View commit details
    Browse the repository at this point in the history
  7. e2e fallback test, timeout, close connection on close cache

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    7b4e66d View commit details
    Browse the repository at this point in the history
  8. semgrep

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    8daa27d View commit details
    Browse the repository at this point in the history
  9. add new manifest, comments

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    46db72d View commit details
    Browse the repository at this point in the history
  10. nil checkers a refactors, new fallback unit tests

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    247900e View commit details
    Browse the repository at this point in the history
  11. remove prints, simplify, remove cyclical complexity of scale_handler,…

    … scale_handler test one
    
    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    34b9b21 View commit details
    Browse the repository at this point in the history
  12. webhook tests, refresh scaler if not found during metric fetch, valid…

    …ation funcs
    
    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    6cdc876 View commit details
    Browse the repository at this point in the history
  13. hotfix

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    f15b506 View commit details
    Browse the repository at this point in the history
  14. new scale_handler test, add certificate for grpc clients, comment cle…

    …anup
    
    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    216857d View commit details
    Browse the repository at this point in the history
  15. add certDir to manifest

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    9cfc11d View commit details
    Browse the repository at this point in the history
  16. changelog

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    7e6802a View commit details
    Browse the repository at this point in the history
  17. use existing fallback

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    5bdfb63 View commit details
    Browse the repository at this point in the history
  18. keep resource metric in HPA and fix null pointer reference err invali…

    …dation
    
    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    e6efd13 View commit details
    Browse the repository at this point in the history
  19. manifest change

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    c4a26ab View commit details
    Browse the repository at this point in the history
  20. revert kubebuilder version

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    68601ac View commit details
    Browse the repository at this point in the history
  21. revert cacheObj as its not needed now

    Signed-off-by: gauron99 <fridrich.david19@gmail.com>
    gauron99 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    afa992c View commit details
    Browse the repository at this point in the history