Comments (14)
The behavior sounds expected to me. The health check status does not update immediately, and the passive health checker cannot predict if the next request will succeed. Could you elaborate?
from kong.
@StarlightIbuki
Hi
But after the interval passes it should recover, but it doesn't.
Also clearing Kong cache via Admin API fixes the issue
from kong.
It happens when we have a rolling update on our K8s Deployment
from kong.
@mhkarimi1383 Is the upstream failing in a predictable or manipulatable manner? So that you are sure that the status is not reflecting the fact?
from kong.
@StarlightIbuki
Yes
I have sent a request to that pod and monitor that health check endpoint using a blackbox exporter pointing to it's k8s service
from kong.
@mhkarimi1383 Could you share the config that you are using?
from kong.
upstream:
healthchecks:
active:
healthy:
interval: 5
successes: 3
type: tcp
unhealthy:
tcp_failures: 1
interval: 5
Here is my KongIngress spec
from kong.
5s seems a short interval. How long do you wait before inspecting the status?
from kong.
@StarlightIbuki
About 5 minutes
from kong.
I still do not really understand the reproduction steps. When the health checker reports green and you get 503, what real status are you expecting?
from kong.
I still do not really understand the reproduction steps. When the health checker reports green and you get 503, what real status are you expecting?
Yes,
Kong said the project is unhealthy but it is healthy, clear king cache fixes the problem
from kong.
I still do not really understand the reproduction steps. When the health checker reports green and you get 503, what real status are you expecting?
Yes, Kong said the project is unhealthy but it is healthy, clear king cache fixes the problem
Sorry, but let's confirm if my understanding is correct: for step 4, we configure the upstream to back to work again, and we will observe the health checker reporting unhealthy condition?
from kong.
@StarlightIbuki Yes
from kong.
This issue is marked as stale because it has been open for 14 days with no activity.
from kong.
Related Issues (20)
- custom proxy_access_log still not working in 3.4.* HOT 5
- Kong prometheus plugin does not record 404 response codes from proxy HOT 3
- Timeout when running migrations from 3.5 to 3.6 leading to corrupted data (migration ran twice) HOT 3
- Admin API address in "New Connnection" form only support IP, not DNS. HOT 4
- Upsert target is not an upsert HOT 4
- failed to set X-Kong-Upstream-Status header while sending to client HOT 3
- [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: connection refused HOT 2
- DNS resolution failed: dns server error: 3 name error HOT 14
- Optional capture groups are broken with the request-transformer plugin and traditional_compatible router HOT 4
- Error in logs: failed to run timer HOT 4
- Database migration failed while using helm chart HOT 4
- JWT Plugin bypasses validation process occasionally on frequent requests HOT 4
- TLS SNI Route not work HOT 7
- Kong info, notice, inspect logs are all getting logged as error in GCP(google cloud platform) HOT 3
- Cannot use kong.db HOT 1
- http-log plugin: Host header not including port HOT 3
- Every time request localhost:8001/metrics, kong-cp-kong-pod will prompt a license-related error HOT 3
- Dataplane not getting information from the ControlPlane in Hybrid mode HOT 6
- go plugin error, worker-events: event callback failed; source=plugin_server, event=reset_instance HOT 2
- Error: attempt to index local 'ssl' (a nil value) for Kong >= 3.6.0 when KONG_PG_SSL=on HOT 6
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 kong.