Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[logstash] increase liveness probe initial delay again
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlrt committed Dec 6, 2019
1 parent 9fc3362 commit 7601d45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion logstash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`<br>`initialDelaySeconds: 90`<br>`periodSeconds: 10`<br>`successThreshold: 3`<br>`timeoutSeconds: 5` |
| `livenessProbe` | Configuration fields for the [livenessProbe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/) | `failureThreshold: 3`<br>`initialDelaySeconds: 300`<br>`periodSeconds: 10`<br>`successThreshold: 3`<br>`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/`. | `{}` |
Expand Down
2 changes: 1 addition & 1 deletion logstash/tests/logstash_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion logstash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 90
initialDelaySeconds: 300
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
Expand Down

0 comments on commit 7601d45

Please sign in to comment.