-
Notifications
You must be signed in to change notification settings - Fork 18
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
Updating sample as per KEDA v2 #3
Conversation
…mmands Signed-off-by: Ritikaa96 <ritika@india.nec.com>
@turbaszek PTAL |
keda/redis-hpa.yaml
Outdated
triggers: | ||
- type: redis | ||
metadata: | ||
address: REDIS_ADDRESS | ||
addressFromEnv: REDIS_ADDRESS | ||
listName: default | ||
listLength: "10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
listLength: "10" | |
listLength: "10" | |
Let's add blank new line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@turbaszek Do you mean adding a new line between listLength and listName? or between every metadata field? Also should we Add this line in every file in keda/ folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ritikaa96 I mean adding new line at the end of the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, I will try to deploy this later today or tomorrow 👍
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
Hi @turbaszek , added the line at the end of file. ptal |
keda/mysql-hpa.yaml
Outdated
query: "SELECT CEIL(COUNT(*) / 10) FROM test WHERE state='QUEUED'" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keda/redis-hpa.yaml
Outdated
listLength: "10" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
PTAL @turbaszek |
1.) Updating scaledObjects as per KEDA v2 in : mysql-hpa.yaml, redis-hpa.yaml
2.) Updating README.md: kubectl commands
Signed-off-by: Ritikaa96 ritika@india.nec.com