Add initialDelaySeconds and periodSeconds to Logstash livenessProbe, update image (#3651)

* Add livenessProbe delay and period

* Update to newest image

* Raise chart version

* add redinessProbe initialDelaySeconds
This commit is contained in:
Simon Tesar
2018-02-19 17:29:37 -08:00
committed by k8s-ci-robot
parent 1fbd54af09
commit 9107fc88eb
4 changed files with 38 additions and 25 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ description: Logstash is an open source, server-side data processing pipeline
icon: https://www.elastic.co/assets/blt86e4472872eed314/logo-elastic-logstash-lt.svg
home: https://www.elastic.co/products/logstash
name: logstash
version: 0.4.0
appVersion: 6.0.0
version: 0.5.0
appVersion: 6.2.1
sources:
- https://www.docker.elastic.co
- https://www.elastic.co/guide/en/logstash/current/index.html
+26 -22
View File
@@ -31,25 +31,29 @@ chart and deletes the release.
The following tables lists the configurable parameters of the drone charts and their default values.
| Parameter | Description | Default |
| ---------------------- | -------------------------------------------------- | ------------------------------------------------ |
| `replicaCount` | Number of replicas | `1` |
| `nodeSelector` | Node selectors | `{}` |
| `image.repository` | Container image name | `docker.elastic.co/logstash/logstash-oss` |
| `image.tag` | Container image tag | `6.0.0` |
| `image.pullPolicy` | Container image pull policy | `IfNotPresent` |
| `service.type` | Service type (ClusterIP, NodePort or LoadBalancer) | `ClusterIP` |
| `service.internalPort` | Logstash internal port | `1514` |
| `service.ports` | Service open ports | `[TCP/1514, UDP/1514, TCP/5044]` |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hosts` | Ingress accepted hostnames | `[]` |
| `ingress.tls` | Ingress TLS configuration | `nil` |
| `resources` | Pod resource requests & limits | `{}` |
| `elasticsearch.host` | ElasticSearch hostname | `elasticsearch-client.default.svc.cluster.local` |
| `elasticsearch.port` | ElasticSearch port | `9200` |
| `configData` | Extra logstash config | `{}` |
| `patterns` | Logstash patterns configuration | `nil` |
| `inputs` | Logstash inputs configuration | `(basic)` |
| `filters` | Logstash filters configuration | `nil` |
| `outputs` | Logstash outputs configuration | `(basic)` |
| Parameter | Description | Default |
| ----------------------------------- | -------------------------------------------------- | ------------------------------------------------ |
| `replicaCount` | Number of replicas | `1` |
| `nodeSelector` | Node selectors | `{}` |
| `livenessProbe.initialDelaySeconds` | initialDelaySeconds of Pod livenessProbe | `60` |
| `livenessProbe.periodSeconds` | periodSeconds of Pod livenessProbe | `20` |
| `readinessProbe.initialDelaySeconds` | initialDelaySeconds of Pod readinessProbe | `60` |
| `nodeSelector` | Node selectors | `{}` |
| `image.repository` | Container image name | `docker.elastic.co/logstash/logstash-oss` |
| `image.tag` | Container image tag | `6.2.1` |
| `image.pullPolicy` | Container image pull policy | `IfNotPresent` |
| `service.type` | Service type (ClusterIP, NodePort or LoadBalancer) | `ClusterIP` |
| `service.internalPort` | Logstash internal port | `1514` |
| `service.ports` | Service open ports | `[TCP/1514, UDP/1514, TCP/5044]` |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hosts` | Ingress accepted hostnames | `[]` |
| `ingress.tls` | Ingress TLS configuration | `nil` |
| `resources` | Pod resource requests & limits | `{}` |
| `elasticsearch.host` | ElasticSearch hostname | `elasticsearch-client.default.svc.cluster.local` |
| `elasticsearch.port` | ElasticSearch port | `9200` |
| `configData` | Extra logstash config | `{}` |
| `patterns` | Logstash patterns configuration | `nil` |
| `inputs` | Logstash inputs configuration | `(basic)` |
| `filters` | Logstash filters configuration | `nil` |
| `outputs` | Logstash outputs configuration | `(basic)` |
@@ -28,9 +28,12 @@ spec:
livenessProbe:
tcpSocket:
port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
readinessProbe:
tcpSocket:
port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
env:
- name: ELASTICSEARCH_HOST
value: {{ .Values.elasticsearch.host | quote }}
+7 -1
View File
@@ -5,7 +5,7 @@ replicaCount: 1
nodeSelector: {}
image:
repository: docker.elastic.co/logstash/logstash-oss
tag: 6.0.0
tag: 6.2.1
pullPolicy: IfNotPresent
service:
type: ClusterIP
@@ -24,6 +24,12 @@ service:
# Extra config options
configData: {}
livenessProbe:
initialDelaySeconds: 60
periodSeconds: 20
readinessProbe:
initialDelaySeconds: 120
ingress:
enabled: false
# Used to create an Ingress and Service record.