|
@@ -15,6 +15,32 @@ spec: {{ include "common.deployment.common_spec" $values | nindent 2 }}
|
|
{{ $envList := (default list .Values.environmentVariables) }}
|
|
{{ $envList := (default list .Values.environmentVariables) }}
|
|
{{ $envList = mustAppend $envList (dict "name" "discovery.type" "value" "single-node") }}
|
|
{{ $envList = mustAppend $envList (dict "name" "discovery.type" "value" "single-node") }}
|
|
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
|
|
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
|
|
-
|
|
|
|
|
|
+ livenessProbe:
|
|
|
|
+ httpGet:
|
|
|
|
+ path: /
|
|
|
|
+ port: 9200
|
|
|
|
+ initialDelaySeconds: 10
|
|
|
|
+ periodSeconds: 10
|
|
|
|
+ timeoutSeconds: 5
|
|
|
|
+ failureThreshold: 5
|
|
|
|
+ successThreshold: 1
|
|
|
|
+ readinessProbe:
|
|
|
|
+ httpGet:
|
|
|
|
+ path: /
|
|
|
|
+ port: 9200
|
|
|
|
+ initialDelaySeconds: 10
|
|
|
|
+ periodSeconds: 10
|
|
|
|
+ timeoutSeconds: 5
|
|
|
|
+ failureThreshold: 5
|
|
|
|
+ successThreshold: 2
|
|
|
|
+ startupProbe:
|
|
|
|
+ httpGet:
|
|
|
|
+ path: /
|
|
|
|
+ port: 9200
|
|
|
|
+ initialDelaySeconds: 10
|
|
|
|
+ periodSeconds: 5
|
|
|
|
+ timeoutSeconds: 2
|
|
|
|
+ failureThreshold: 60
|
|
|
|
+ successThreshold: 1
|
|
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
|
|
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
|
|
volumes: {{ include "common.storage.configureAppVolumes" (dict "appVolumeMounts" .Values.elasticSearchAppVolumeMounts "emptyDirVolumes" .Values.emptyDirVolumes "ixVolumes" .Values.ixVolumes) | nindent 8 }}
|
|
volumes: {{ include "common.storage.configureAppVolumes" (dict "appVolumeMounts" .Values.elasticSearchAppVolumeMounts "emptyDirVolumes" .Values.emptyDirVolumes "ixVolumes" .Values.ixVolumes) | nindent 8 }}
|