Comments (3)
FWIW liveness probes can be tricky and have much discussion in the community (i.e. here and here), but the one in this chart is on by default.
You can disable it by setting livenessProbe.enabled = false
:
couchdb-helm/couchdb/values.yaml
Lines 191 to 197 in 78eff8c
I know little about the underlying implementation here, but it's possible that the default should be changed and livenessProbe
should be turned off 🤷 Or its configuration should be improved so flapping like this is less likely. At a minimum, failureThreshold
should probably be increased to 10 or so (as the latter article recommends).
from couchdb-helm.
From the logs it looks like the readiness probe is failing due to the increased time it is taking to make the check. There are times in there of 29613 and 14872 where are normal response would be < 10 ms. There appears to be something happening in couchdb that is causing the responses to slow down. When this is occurring there are no obvious cpu spikes or memory usage either.
Is there any additional debugging that can be enabled to try and capture what couchdb might be doing when it crashes? Given that this deployed service is hardly used at the moment it is concerning that this type of thing would occur when it is under no load.
from couchdb-helm.
Woops - apologies for never responding here. I must admit that I am not super familiar with the internals of couchdb - I would definitely recommend turning off livenessProbe
though. If the readinessProbe
fails, that is fine - traffic may not get routed to the pod briefly, but the pod stays alive. Moreover, you can increase failureThreshold
or increase periodSeconds
or increase timeoutSeconds
to make it check more often / allow for more variance.
livenessProbe
should only be used when "the best thing to do for the service is to kill it." I highly doubt that that is the case if it responds a smidge slowly on occasion (during a sync or some such).
from couchdb-helm.
Related Issues (20)
- Update Installation Guide
- Idempotent Helm chart install action? HOT 1
- Breaking change from Version 3.6.0 -> 3.6.1
- helm chart default install de-facto doesn't work (inconsistent adminHash)
- post-install job uses hard-coded cluster.local DNS suffix
- Container couchdb is going into restart loop right after deploy without any logs HOT 8
- CrashLoopBackoff when PersistentVolume=true HOT 2
- Add an option to specify resources for init container
- JWT Authentication issues HOT 2
- Fresh 3 Nodes cluster do not pass Fauxton GUI replica check. HOT 5
- post-install hook job should also run post-upgrade
- Text search not working with CouchDB 3.3.2
- Automate generation of README values documentation HOT 1
- Fix broken CI on main HOT 1
- Add a NOTES.txt message for adminHash and adminPassword both being set
- Figure out a way to avoid manual action after deploying a cluster with the helm chart HOT 2
- Ingress should point to the "not headless" service
- unable to setup couch db on ipv6 only environemnt. HOT 1
- Erlang cookie not the same on all nodes HOT 3
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 couchdb-helm.