-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Instructions on how to deploy from the custom/local build are missing #531
Comments
This is probably what you are looking for - https://github.com/kedacore/keda/blob/master/CREATE-NEW-SCALER.md? If so, will update the README. |
@tomkerkhove i was going throught that file too (i need it to customize an existing scale) btw, probably the instructions there needs to be reviewed, in fact it says:
and i think it refers to the step 2 in Readme.md, but that step is not mentioned in the file above, making the documenation pretty confusing! And another question: when it says go to charts/keda folder, is it referring to those charts: https://kedacore.github.io/charts ? |
Charts used to be part of this repo but have been moved to https://github.com/kedacore/charts. It's probably referring to that. Unfotunately, I cannot speak about the other parts. |
@tomkerkhove thanks for your answer (i think this detail should be specified in the readme, i guessed it, but i think not trivial.
Maye is my fault i was not completely clear, but i see you added that part on the official documentation, here: c7dc964 what i'm saying is that in the https://github.com/kedacore/keda/blob/master/CREATE-NEW-SCALER.md after point 7, when the document says:
There is another numbered list, and the step 2 says:
I think this step is copied and pasted from the original Readme, but in CREATE-NEW-SCALER doc, needs to be adjusted snice it is reffering to itself (and even the previous steplist, at step 2 doesn't contain any image_tag specified. I also found a typo, on the 7 steps list of deployin a new scaler, at step 2 it says conifugration but i suppose the correct word should be configuration |
That's correct, but I was just moving things around, I didn't really write the content itself. You should indeed no longer look for a folder but use the other repo for the charts indeed. Happy to review a PR for that typo, sorry for that. |
@tomkerkhove i submited a PR for the typos. #535 |
Questions, i was trying to execute instructions in the create new scaler document (i'm trying to imprrove a scaler). But i think that
For point 1
i moved into the root of keda source there is no Dockerfile, then any docker build command will fail complaining about it:
and i think the make build now is running docker build so probably this step list has to be updated with the one from Readme. For point 2 i added a log print here:
That i think is one of the first things being called in the scaler, but i don't see that print anywhere, in the keda-operator log, plus another thing i saw, there is an exception being thrown by the redis scaler, and the stacktrace is referring to the IsActive function at line 96, but the isActive function is starting at line 103.
but my commit id is: So i suppose is picking the wrong version.
where i replaced [tag used in step 2] with my_custom_tag. |
@ahmelsayed Can you elaborate on the above please? You're expert when it comes to dev |
so @tomkerkhove @ahmelsayed i finally got it working, but the documentation apparently is not correct. The command i needed to use was:
In this way it picked up my image. Otherwise was using the original (remote?) one. So maybe an update on both README and CREATE_NEW_SCALER is needed? |
@tomkerkhove @ahmelsayed so what do you think? |
Certainly is, happy to review a PR! |
sbumitted PR #541 |
The provided instructions from this link are outdated.
The text was updated successfully, but these errors were encountered: