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 Cassandra scaler #1817

Closed

Conversation

nilayasiktoprak
Copy link
Contributor

@nilayasiktoprak nilayasiktoprak commented May 20, 2021

Signed-off-by: nilayasiktoprak nilayasiktoprak@gmail.com

Add a new Cassandra scaler.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Tests have been added
  • A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
  • A PR is opened to update the documentation on (repo) (if applicable)
  • Changelog has been updated

Relates to #1738

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for you contribution! Is this PR ready for a review? I haven't yet check the code properly, have some input though:

  • could you please add unit test as it is done for the rest of the scalers (`cassandar_scaler_test.go)?
  • could you please add e2e test for this scaler? (in this case probably an ephemeral deployment of Cassandra on k8s and checking that applied ScaledObject scales some target deployment (similar as it is implemented in e2e tests for other scalers) https://github.com/kedacore/keda/tree/main/tests

@@ -5,5 +5,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please exclude this file from your PR.

@@ -10,5 +10,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please exclude this file from your PR.

@nilayasiktoprak
Copy link
Contributor Author

I will add them as soon as possible :) And will delete those 2 files, too. Thank you for the review!

nilayasiktoprak and others added 3 commits May 26, 2021 00:04
Signed-off-by: nilayasiktoprak <nilayasiktoprak@gmail.com>
Signed-off-by: nilayasiktoprak <nilayasiktoprak@gmail.com>
Signed-off-by: nilayasiktoprak <nilayasiktoprak@gmail.com>
nilayasiktoprak and others added 2 commits May 29, 2021 20:37
Signed-off-by: nilayasiktoprak <nilayasiktoprak@gmail.com>
@nilayasiktoprak nilayasiktoprak deleted the cassandra_scaler branch May 30, 2021 11:12
@nilayasiktoprak
Copy link
Contributor Author

This PR is moved to #1841

@nilayasiktoprak nilayasiktoprak mentioned this pull request Aug 18, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants