forked from open-telemetry/opentelemetry-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose Horizontal Pod Autoscaler Behavior and add hpa scaledown test (o…
…pen-telemetry#1077) * Add scaledown test for autoscaling Signed-off-by: Kevin Earls <kearls@redhat.com> * Fix nits Signed-off-by: Kevin Earls <kearls@redhat.com> * Appease the linter Signed-off-by: Kevin Earls <kearls@redhat.com> * Don't use a default, only set scaleUp/scaleDown if they are in the CR Signed-off-by: Kevin Earls <kearls@redhat.com> * Removed commented out code Signed-off-by: Kevin Earls <kearls@redhat.com> * Change defaults for scaleUp/scaleDown Signed-off-by: Kevin Earls <kearls@redhat.com> * Update autoscaling scaleup/scaledown Signed-off-by: Kevin Earls <kearls@redhat.com> * Run generate Signed-off-by: Kevin Earls <kearls@redhat.com> * Ran make api-docs Signed-off-by: Kevin Earls <kearls@redhat.com> * Update HPA implementation to embed HorizontalPodAutoscalerBehavior Signed-off-by: Kevin Earls <kearls@redhat.com> * Only set behavior if it exists in the collector CR Signed-off-by: Kevin Earls <kearls@redhat.com> * Aded some unit tests Signed-off-by: Kevin Earls <kearls@redhat.com> * Add kuttl assertion that hpa scaled down Signed-off-by: Kevin Earls <kearls@redhat.com> * added whitespace to rerun tests Signed-off-by: Kevin Earls <kearls@redhat.com> Signed-off-by: Kevin Earls <kearls@redhat.com>
- Loading branch information
1 parent
9d224e1
commit 6f54f38
Showing
11 changed files
with
703 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.