Elasticseach got healthcheck
Change-Id: I16ebb376feaca7d4d1464236dff689136187c3b3
Signed-off-by: Balazs Szekeres <balazs.szekeres@nokia.com>
%define COMPONENT infra-charts
%define RPM_NAME caas-%{COMPONENT}
%define RPM_MAJOR_VERSION 1.0.0
-%define RPM_MINOR_VERSION 15
+%define RPM_MINOR_VERSION 16
Name: %{RPM_NAME}
Version: %{RPM_MAJOR_VERSION}
tcpSocket:
port: {{ .Values.elasticsearch.port }}
initialDelaySeconds: 5
+ livenessProbe:
+ tcpSocket:
+ port: {{ .Values.elasticsearch.port }}
+ initialDelaySeconds: 60
+ timeoutSeconds: 5
+ successThreshold: 1
+ failureThreshold: 5
volumeMounts:
- name: time-mount
mountPath: /etc/localtime
path: /_cluster/health?local=true
port: {{ .Values.elasticsearch.port }}
initialDelaySeconds: 5
+ livenessProbe:
+ tcpSocket:
+ port: {{ .Values.elasticsearch.port }}
+ initialDelaySeconds: 60
+ timeoutSeconds: 5
+ successThreshold: 1
+ failureThreshold: 5
image: {{ .Values.elasticsearch.image_name }}
command: ["/usr/bin/supervisord","-n","-c","/etc/supervisord.conf"]
volumeMounts: