diff --git a/logstash/README.md b/logstash/README.md index 67faf880d..d869bdb6f 100644 --- a/logstash/README.md +++ b/logstash/README.md @@ -76,7 +76,7 @@ helm install --name logstash elastic/logstash --set imageTag=7.5.0 | `httpPort` | The http port that Kubernetes will use for the healthchecks and the service. | `9600` | | `labels` | Configurable [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) applied to all Logstash pods | `{}` | | `lifecycle` | Allows you to add lifecycle configuration. See [values.yaml](./values.yaml) for an example of the formatting. | `{}` | -| `livenessProbe` | Configuration fields for the [livenessProbe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/) | `failureThreshold: 3`
`initialDelaySeconds: 90`
`periodSeconds: 10`
`successThreshold: 3`
`timeoutSeconds: 5` | +| `livenessProbe` | Configuration fields for the [livenessProbe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/) | `failureThreshold: 3`
`initialDelaySeconds: 300`
`periodSeconds: 10`
`successThreshold: 3`
`timeoutSeconds: 5` | | `logstashConfig` | Allows you to add any config files in `/usr/share/logstash/config/` such as `logstash.yml` and `log4j2.properties`. See [values.yaml](./values.yaml) for an example of the formatting. | `{}` | | `logstashJavaOpts` | Java options for Logstash. This is where you should configure the jvm heap size | `-Xmx1g -Xms1g` | | `logstashPipeline` | Allows you to add any pipeline files in `/usr/share/logstash/pipeline/`. | `{}` | diff --git a/logstash/tests/logstash_test.py b/logstash/tests/logstash_test.py index ab0f21fc5..33fb327f9 100755 --- a/logstash/tests/logstash_test.py +++ b/logstash/tests/logstash_test.py @@ -58,7 +58,7 @@ def test_defaults(): # Health checks assert c['livenessProbe']['failureThreshold'] == 3 - assert c['livenessProbe']['initialDelaySeconds'] == 90 + assert c['livenessProbe']['initialDelaySeconds'] == 300 assert c['livenessProbe']['periodSeconds'] == 10 assert c['livenessProbe']['successThreshold'] == 1 assert c['livenessProbe']['timeoutSeconds'] == 5 diff --git a/logstash/values.yaml b/logstash/values.yaml index 87db87c80..42f9cbf17 100755 --- a/logstash/values.yaml +++ b/logstash/values.yaml @@ -150,7 +150,7 @@ livenessProbe: httpGet: path: / port: http - initialDelaySeconds: 90 + initialDelaySeconds: 300 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3