Commit 91b6dcb
authored
OWLS 86406: WKO - scaling with webhook invoked from Prometheus not working (#2106)
* Update scalingAction.sh to use jq command line tool, if present
* update jq usage and use openssl to create certificate for internal REST
* refactor scalingAction.sh script
* Add comments
* Add comment about openssl for OL8-slim only
* Update scalingAction.sh based on code review
* revert default scripts values
* Updated logging and verify scaling request against configured minimum replica count
* return min replica count if greater than discovered value
* remove unused vars from timestamp function1 parent 741ef68 commit 91b6dcb
File tree
3 files changed
+399
-191
lines changed- kubernetes/samples/scripts/domain-lifecycle
- src/scripts
- scaling
3 files changed
+399
-191
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
697 | | - | |
698 | 696 | | |
699 | 697 | | |
700 | 698 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 38 | | |
44 | 39 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
80 | 45 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 46 | + | |
| 47 | + | |
84 | 48 | | |
85 | | - | |
86 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
87 | 55 | | |
88 | 56 | | |
89 | 57 | | |
| |||
0 commit comments