diff --git a/logstash/README.md b/logstash/README.md index 66555a9dc..4af8d7f85 100644 --- a/logstash/README.md +++ b/logstash/README.md @@ -82,7 +82,7 @@ helm install --name logstash elastic/logstash --set imageTag=7.4.1 | `priorityClassName` | The [name of the PriorityClass](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass). No default is supplied as the PriorityClass must be created first. | `""` | | `readinessProbe` | Configuration fields for the [readinessProbe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/) | `failureThreshold: 3`
`initialDelaySeconds: 30`
`periodSeconds: 10`
`successThreshold: 3`
`timeoutSeconds: 5` | | `replicas` | Kubernetes replica count for the statefulset (i.e. how many pods) | `1` | -| `resources` | Allows you to set the [resources](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) for the statefulset | `requests.cpu: 100m`
`requests.memory: 1280Mi`
`limits.cpu: 1000m`
`limits.memory: 1280Mi` | +| `resources` | Allows you to set the [resources](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) for the statefulset | `requests.cpu: 100m`
`requests.memory: 1536Mi`
`limits.cpu: 1000m`
`limits.memory: 1536Mi` | | `schedulerName` | Name of the [alternate scheduler](https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/#specify-schedulers-for-pods) | `""` | | `secretMounts` | Allows you easily mount a secret as a file inside the statefulset. Useful for mounting certificates and other secrets. See [values.yaml](./values.yaml) for an example | `[]` | | `securityContext` | Allows you to set the [securityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) for the container | `capabilities.drop:[ALL]`
`runAsNonRoot: true`
`runAsUser: 1000` | diff --git a/logstash/tests/logstash_test.py b/logstash/tests/logstash_test.py index 4e1f05b97..7b08ee62b 100755 --- a/logstash/tests/logstash_test.py +++ b/logstash/tests/logstash_test.py @@ -77,11 +77,11 @@ def test_defaults(): assert c['resources'] == { 'requests': { 'cpu': '100m', - 'memory': '1280Mi' + 'memory': '1536Mi' }, 'limits': { 'cpu': '1000m', - 'memory': '1280Mi' + 'memory': '1536Mi' } } diff --git a/logstash/values.yaml b/logstash/values.yaml index 6705565eb..68658180d 100755 --- a/logstash/values.yaml +++ b/logstash/values.yaml @@ -46,10 +46,10 @@ logstashJavaOpts: "-Xmx1g -Xms1g" resources: requests: cpu: "100m" - memory: "1280Mi" + memory: "1536Mi" limits: cpu: "1000m" - memory: "1280Mi" + memory: "1536Mi" volumeClaimTemplate: accessModes: [ "ReadWriteOnce" ]