Auto Scaling Applications with Kubernetes Event-Driven Autoscaler (KEDA) - Prometheus Scaler

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 24

  • @ParmeshwarJadhao
    @ParmeshwarJadhao 3 місяці тому +1

    Hi, you videos are really informative, request you to improve the Audio quality

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому

      Yes even I agree with you on the same. Currently just using my airpods for recording the video. I will solve this issue asap.

  • @SandeepDash-sv6ql
    @SandeepDash-sv6ql 3 місяці тому +1

    Sir, I have Java application. Please update me necessary change in code. It will be a great help for your and my efforts..

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому +1

      Sorry brother I don't know java, I have taken the code from someone and just created image for my dockerhub repo

    • @SandeepDash-sv6ql
      @SandeepDash-sv6ql 3 місяці тому +1

      @@rohanrustagi7857 sir, Ok no problem, just have to use prom-client for Prometheus to integrate custom matrix, we have used spring boot framework for java application. Need to add prom-client in pom.xml file. If we get this then there is no problem. If you are able to arrange then please help me out, otherwise leave it. It's ok.. 🙃

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому +1

      Sorry brother can't help much on the coding part but I can give the repo url from where I dockerized the image I used in the demo.

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому +1

      repo : github.com/dopevs/keda-prometheus-demo

    • @SandeepDash-sv6ql
      @SandeepDash-sv6ql 2 місяці тому +1

      @@rohanrustagi7857 no problem sir, please create a video for how to deploy grafana and create dashboard for this..

  • @SandeepDash-sv6ql
    @SandeepDash-sv6ql 3 місяці тому +1

    Sir, can we use with different image like nginx in scale object deployment file ?

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому

      yes you can use any image just configure the app or image so that it generates some metrics which prometheus can detect.

    • @SandeepDash-sv6ql
      @SandeepDash-sv6ql 3 місяці тому +1

      Ok.. Where to update cooldown period?

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому +1

      In scaledObject.yml file inside scaletargetref section. Please follow keda documentation for that, you will learn a lot

    • @SandeepDash-sv6ql
      @SandeepDash-sv6ql 3 місяці тому +1

      @@rohanrustagi7857 checking docs sir, thankyou

    • @SandeepDash-sv6ql
      @SandeepDash-sv6ql 3 місяці тому +1

      Sir, query is not been updated in Prometheus. Hello world request. I am using nginx image. Is it mandatory to update logic for the query in application code ?
      Now in your given image also query is not updating in Prometheus

  • @kranthireddy2949
    @kranthireddy2949 3 місяці тому

    Hi Rohan, how hello_world_requests will be stored in the prometheus. do we need to write http request logic in the application itself

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому

      Yes correct

    • @kranthireddy2949
      @kranthireddy2949 3 місяці тому +1

      @@rohanrustagi7857 what if i dont have logic in the application but i want to scale the app based on the http_request. do i need to use keda http-add-on

    • @rohanrustagi7857
      @rohanrustagi7857  3 місяці тому

      Yes then for that you can use that. KEDA supports many scalers you can select whatever is easy to use within your project.