fix: typo & missing punctuation

This commit is contained in:
antoinegauvain 2019-12-16 14:59:48 +01:00
parent 6385efe4a7
commit 34d16c1633
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ The readiness probe is also used when you do rolling updates. Kubernetes will wa
### Good practices
Most of time having the readiness and liveness probe to be the same is enough. In some cases you might want to them to be different. A good example is a container running a mono-threaded application that accept HTTP calls (who said PHP). Lets say you have an incoming request that will very long to be processed. Your application is not able to receive any other request, as its blocked by the incoming requests. So its not “ready” on the other hand its processing a request so its “alive”.
Most of time having the readiness and liveness probe to be the same is enough. In some cases you might want to them to be different. A good example is a container running a mono-threaded application that accepts HTTP calls (who said PHP). Lets say you have an incoming request that will very long to be processed. Your application is not able to receive any other request, as its blocked by the incoming requests. So its not “ready”; on the other hand its processing a request so its “alive”.
Another tip, your probes should not call dependent services of your application, to prevent cascading failure.