Skip to content

Commit 1476e13

Browse files
committed
adjust solr readiness probe
1 parent 9ba5519 commit 1476e13

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

helm/metadig-solr/install-metadig-solr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
#helm repo add bitnami https://charts.bitnami.com/bitnami
66

77
helm upgrade metadig-solr bitnami/solr \
8-
--version=9.6.8 \
8+
--version=9.5.5 \
99
--namespace metadig \
1010
-f solr-values.yaml

helm/metadig-solr/solr-values.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ service:
2727
type: ClusterIP
2828
externalTrafficPolicy: Cluster
2929

30+
customReadinessProbe:
31+
exec:
32+
command:
33+
- bash
34+
- -ec
35+
- >
36+
curl --silent --connect-timeout 15 http://localhost:${SOLR_PORT_NUMBER}/solr/admin/info/system | grep --quiet '"status":0'
37+
initialDelaySeconds: 60
38+
periodSeconds: 10
39+
timeoutSeconds: 15
40+
successThreshold: 1
41+
failureThreshold: 6
42+
3043
ingress:
3144
enabled: false
3245
tls: false

0 commit comments

Comments
 (0)