Coder Social home page Coder Social logo

samples's Issues

Help configure Keda HPA based on AWS/EC2 CloudWatch CPUUtilization trigger type

This is what I have so far:

kind: Secret
metadata:
  name: keda-aws-secrets
data:
  AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
  AWS_SECRET_ACCESS_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
---
apiVersion: keda.k8s.io/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-trigger-auth-aws-credentials
  namespace: keda
spec:
  secretTargetRef:
  - parameter: awsAccessKeyID     # Required.
    name: keda-aws-secrets        # Required.
    key: AWS_ACCESS_KEY_ID        # Required.
  - parameter: awsSecretAccessKey # Required.
    name: keda-aws-secrets        # Required.
    key: AWS_SECRET_ACCESS_KEY    # Required.
---
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
  name: aws-cloudwatch-cpu-scaledobject
  namespace: keda
  labels:
    test: gateway-app
spec:
  scaleTargetRef:
    deploymentName: gateway-app
  triggers:
  - type: aws-cloudwatch
    metadata:
      namespace: AWS/EC2
      dimensionName: AutoScalingGroupName
      dimensionValue: eksctl-us-east-1-app-spot-ng-XXXXXXXXXXXXX
      metricName: CPUUtilization
      statistic: Average
      period: "180"
      evaluationPeriods: "1"
      threshold: "80"
      comparisonOperator: GreaterThanThreshold
      alarmActions: scaleUp
      awsRegion: "us-east-1"
    authentication/Ref:
      name: keda-trigger-auth-aws-credentials````

I saw the SQS trigger type sample but I don't know what metadata to use for the aws-cloudwatch trigger type.
Please advise if possible and how to configure.

Thanks.

Unable to create PR

Getting a 403 error for raising PR. How can I get the access for contributing to this and other Keda repositories.

KEDA v2.0 sample for Azure Event Hubs

I really like your product, It sounds awesome! :)

I saw you have a sample for Azure Event Hubs (KEDA v1.0)
I tried to upgrade it to KEDA 2.0, but it couldn't get it to work.

I wonder if you could provide a working example

Kafka (0->1) + CPU (1->n)

Is it possible to use a KEDA scaler (e.g. Kafka) just for activation (0->1) scaling and a more typical CPU-based approach for 1->n scaling?

Would be great to see an example of this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.