5466badd90
Added pod.DeletionTimestamp condition check
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-30 16:04:32 +03:00
aef1837e47
Merge pull request #310 from Miniland1333/patch-1
...
Updated apiservice to v1
2021-04-28 16:16:00 +02:00
4e86d6ae34
Reverted changes to metrics API. Retain API registration changes
...
Testing indicates that metrics API v1beta2 is not a suitable drop-in replacement for v1beta1, and v1 does not exist at this time.
Signed-off-by: Henry Agnew <henryd.agnew@gmail.com >
2021-04-27 10:31:48 -07:00
9496ab7fd3
Update external-metrics-apiservice.yaml
...
Signed-off-by: Henry Agnew <henryd.agnew@gmail.com >
2021-04-26 11:26:34 -07:00
aa7f86291e
Update custom-metrics-apiservice.yaml
...
Signed-off-by: Henry Agnew <henryd.agnew@gmail.com >
2021-04-26 11:26:34 -07:00
486a6c4262
Update external-metrics-apiservice.yaml
...
Signed-off-by: Henry Agnew <henryd.agnew@gmail.com >
2021-04-26 11:26:34 -07:00
aaf66f31a0
Update custom-metrics-apiservice.yaml
...
Signed-off-by: Henry Agnew <henryd.agnew@gmail.com >
2021-04-26 11:26:34 -07:00
e5bee93bf6
Merge pull request #309 from iamgrewal7/master
...
add commandline flags to set GC interval and metrics TTL
2021-04-26 14:28:02 +02:00
aae3772472
add commandline flags to set GC interval and metrics TTL
...
Signed-off-by: Harman Singh <iamgrewal7@gmail.com >
2021-04-26 00:01:04 -07:00
76d3726e5b
Merge pull request #308 from adutchak-x/feature/improve-pod-collector
...
Feature/improve pod collector
2021-04-21 19:39:49 +02:00
ea4a651afe
Fixed tests
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-21 18:37:16 +03:00
721c6553d8
Added conditions[i].Status == corev1.ConditionTrue check
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-21 18:25:49 +03:00
5aa2272e37
Removed debug message, changed podReadyAge >= c.minPodReadyAge
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-20 12:33:47 +03:00
b9300d1e46
Added namespace to logs, simplified GetPodReadyAge method
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-20 11:21:24 +03:00
5747b6c9de
Renamed min-pod-age to min-pod-ready-age. Considering LastTransitionTime for pod ready age.
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-19 18:51:39 +03:00
6d15a1635a
goimported pkg/collector/pod_collector_test.go
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-17 08:17:59 +03:00
4090ab8b32
goimported pkg/annotations/parser_test.go
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-17 01:08:42 +03:00
1f56abf931
Corrected formatting
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-17 00:52:00 +03:00
f216070630
Introduced min-pod-age configuration key. Added Pod condition handling
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-17 00:52:00 +03:00
8725f02db7
Merge pull request #295 from adutchak-x/bugfix/fix-disregard-incompatible-hpas-error-handling
...
Bugfix/fix disregard incompatible hpas error handling
2021-04-16 12:10:17 +02:00
240452ca27
Merge pull request #1 from zalando-incubator/bugfix/fix-disregard-incompatible-hpas-error-handling-check-events
...
Check for events to ensure invalid HPAs are ignored
2021-04-16 12:35:16 +03:00
45d7863e73
Check for events to ensure invalid HPAs are ignored
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-04-16 10:05:27 +02:00
87f249d36b
goimported hpa.go
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-14 22:25:23 +03:00
9967a55df8
Updated errors handling for updateHPAs method
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-14 22:25:23 +03:00
adf0792079
Update pkg/collector/collector.go
...
Co-authored-by: Jonathan Juares Beber <jonathanbeber@gmail.com >
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-14 22:25:23 +03:00
99fa5c42ed
Replaced spaces with tabs
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-14 22:25:23 +03:00
188cc91574
Reverted error check to errors.Is(), implemented Is() method for PluginNotFoundError
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-14 22:25:23 +03:00
a8ff0ed6f0
Corrected comment formatting
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-14 22:25:23 +03:00
cc9279b283
Chnaged error type check from errors.Is() to errors.As() because errors.Is() always returns False
...
Signed-off-by: Anatolii Dutchak <adutchak-x@tunein.com >
2021-04-14 22:25:23 +03:00
9bb7d976a0
Merge pull request #307 from zalando-incubator/update-deps-2021-04-13-2
...
Update dependencies
2021-04-13 16:08:57 +02:00
816661f7fd
Don't deepcopy-gen on string types
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-04-13 13:11:40 +02:00
7ae70d798d
Update dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-04-13 11:52:50 +02:00
0ef5ad1cfe
Merge pull request #298 from zalando-incubator/document-interval-settings
...
Clearly document interval config
2021-04-13 11:35:57 +02:00
c86235636b
Merge pull request #297 from zalando-incubator/update-deps-2021-04-13
...
Update dependencies
2021-04-13 11:34:16 +02:00
2d119e68e4
Clearly document interval config
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-04-13 11:28:50 +02:00
df3efe0e39
Update makefile dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-04-13 11:17:46 +02:00
a5b5cb91c3
Update dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-04-13 10:48:44 +02:00
ebcf99ad27
Merge pull request #284 from zalando-incubator/time-based-scaling
...
Create first version of ScalingSchedule CRD
2021-03-23 15:07:09 +01:00
3d450ad2c2
Create first version of ScalingSchedule CRDs
...
Some cases and users actually know when their applications will have a
high workload and, therefore, autoscaling support for time based scaling
is a desired feature.
This commit creates the first version of two CRDs called
`ScalingSchedule` and `ClusterScalingSchedule`.
The CRDs describe one or multiples schedules inside them. The schedules
contains the information of when the time based scaling starts, if it
happens once or multiple times, its duration and, a configurable value
that later can be used by HPAs to scale applications.
The only difference between the two CRDs is their scope.
`ClusterScalingSchedule` aims to attend cluster wide schedules, to
multiple applications, while `ScalingSchedule` has to be deployed with
each application into the same namespace.
This commit does not creates any metric, it's a noop change that creates
just the CRD and import tools required to generate the CRD and others
required code, as `deepCopy` functions and clients.
Signed-off-by: Jonathan Juares Beber <jonathanbeber@gmail.com >
2021-03-23 11:07:56 +01:00
78a9b5c253
Merge pull request #283 from zalando-incubator/update-deps-2021-03-01
...
Update dependencies
2021-03-01 12:45:36 +01:00
4e2b9d9788
Update dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-03-01 11:50:33 +01:00
38aeb4deed
Stable comparison in test
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-03-01 11:50:32 +01:00
b7aa886546
Namespace external metrics ( #259 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
v0.1.10
2021-02-19 11:11:29 +01:00
942e753f87
Use Github actions instead of travis ( #270 )
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-02-19 10:31:20 +01:00
86ed6ec102
Merge pull request #269 from zalando-incubator/update-dependencies-2021-02-01
...
Update dependencies
2021-02-01 18:49:22 +01:00
b313c963b6
Update dependencies
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-02-01 10:26:01 +01:00
ca20ef3a3b
Merge pull request #256 from zalando-incubator/label-maintainer
...
Use non-deprecated Dockerfile syntax
2021-01-15 14:56:27 +01:00
f2179846c5
Use non-deprecated Dockerfile syntax
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de >
2021-01-15 14:21:26 +01:00
85089c4773
Merge pull request #253 from tanersener/master
...
Fix the namespace of horizontal-pod-autoscaler service account used in the helm chart
2021-01-14 19:31:02 +01:00
2ac9dd29d8
Fix the namespace of horizontal-pod-autoscaler service account in the helm chart
...
Signed-off-by: Taner Sener <tanersener@gmail.com >
2021-01-13 14:54:43 +00:00