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 Elasticsearch Scaler based on search template #2311

Merged
merged 25 commits into from
Nov 23, 2021
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8a1b7b4
adds an elasticsearch scaler based on search template
orphaner Nov 18, 2021
44ba555
chore: proper indent
orphaner Nov 19, 2021
cc4c9f1
chore: fixes lints
orphaner Nov 19, 2021
e8c6415
chore: add changelog entry
orphaner Nov 19, 2021
9d703c2
chore: rename params to parameters
orphaner Nov 19, 2021
7b408fd
chore: fix comment
orphaner Nov 19, 2021
6afb6ca
:chore: trim
orphaner Nov 19, 2021
bef268d
chore: fix imports order
orphaner Nov 19, 2021
4664f21
chore: fix bad if / else / else if
orphaner Nov 19, 2021
0d5042f
chore: fix sort in scale_handler
orphaner Nov 19, 2021
6f35589
chore: fix name for sort-scalers hook
orphaner Nov 19, 2021
4d835d3
chore: trim
orphaner Nov 19, 2021
3108152
chore: fixes after code review
orphaner Nov 22, 2021
8e3b479
chore: fix PR number
orphaner Nov 22, 2021
ca423cb
proper handling of metricName + TU
orphaner Nov 22, 2021
9d5a921
chore: remove useless metadata
orphaner Nov 22, 2021
5dd7818
chore: increase timeout again
orphaner Nov 22, 2021
62512f2
chore: add debug output
orphaner Nov 22, 2021
18b093b
chore: add debug output
orphaner Nov 23, 2021
8c6f836
fix: disable mmap on elasticsearch statefulset
orphaner Nov 23, 2021
75cdc8f
chore: cleanup debug output
orphaner Nov 23, 2021
f9a45ef
Merge branch 'main' into elasticsearch-search-template2
orphaner Nov 23, 2021
c899398
chore: remove debug timeout
orphaner Nov 23, 2021
3dec64d
chore: fix typo in changelog and organize imports
orphaner Nov 23, 2021
718b68a
Merge branch 'kedacore:main' into elasticsearch-search-template2
orphaner Nov 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove debug timeout
Signed-off-by: Nicolas L <nicolas.lassalle@zenika.com>
  • Loading branch information
orphaner committed Nov 23, 2021
commit c8993986c8143627678e411eaa17f5c71e362436
2 changes: 1 addition & 1 deletion tests/scalers/elasticsearch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test.before(t => {
fs.writeFileSync(elasticsearchTmpFile.name, elasticsearchStatefulsetYaml.replace('{{ELASTIC_PASSWORD}}', elasticPassword))

t.is(0, sh.exec(`kubectl apply --namespace ${elasticsearchNamespace} -f ${elasticsearchTmpFile.name}`).code, 'creating an elasticsearch statefulset should work.')
t.is(0, waitForRollout('statefulset', "elasticsearch", elasticsearchNamespace, 600))
t.is(0, waitForRollout('statefulset', "elasticsearch", elasticsearchNamespace))

// Create the index and the search template
sh.exec(`${kubectlExecCurl} -XPUT http://localhost:9200/${indexName} -d '${elastisearchCreateIndex}'`)
Expand Down