Comments (5)
I'll gladly take a shot at it whenever I get some time 🙏
from keda.
Yeah, we should avoid panics, I agree.
from keda.
This is an interesting point. We aim to prevent all the panics by code instead of just recovering them, but maybe we could recover panics on scaler metric requests:
keda/pkg/scaling/cache/scalers_cache.go
Lines 125 to 142 in 1e1cfb1
As scalers are the place where more contributions are made, they're also the place with more unexpected problems and although I think that we should avoid panics, maybe in this case it can make sense.
In the other hand, we have a really few panics because we try to cover all the cases and we almost achieve it.
WDYT @zroubalik @dttung2905 ?
from keda.
Are you willing to open a PR with this recover @cyrilico ?
from keda.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
from keda.
Related Issues (20)
- Keda operator pod restarts because of objectScaler HOT 5
- cron-scaler scales higher than expected HOT 2
- Continuous HPA updates with CPU Utilization trigger HOT 1
- Add support for access token authentication to an Azure Postgres Flexible Server - Postgres scaler
- Service bus scaler whith workload-identity (override) HOT 3
- Unable to scale with AmbiguousSelector message when there are multiple HPA HOT 1
- Unable to Use Behavior Field with KEDA ScaledObject HOT 1
- Support for Kubernetes v1.30 HOT 1
- ScaledObject for RabbitMQ with Quorum Queues Not Scaling
- Single place to maintain common properties for scaled objects
- Failed to update TriggerAuthenticationStatus - podIdentity validation
- github-runner support for GitHub Runner Groups HOT 1
- Could not find stackdriver metric with query fetch pubsub_subscription - Google Cloud Platform Pub/Sub HOT 1
- Issue with Prometheus ScaledObject - ERROR failed to ensure HPA is correctly created for ScaledObject HOT 1
- Allow multiple directories of CA certificates
- Scale applications based on a PostgreSQL
- 增加按时间段修改minReplicaCount的值的功能
- unsafeSsl is being ignored in prometheus scaler for versions 2.13+
- Default Values for IgnoreNullValue for AWS Cloudwatch Scaler hides errors - V3 Fix
- Add custom name to Prometheus triggers to make the scaling dimensions clearer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keda.