File tree 1 file changed +12
-0
lines changed
.werft/jobs/build/installer
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,18 @@ while [ "$documentIndex" -le "$DOCS" ]; do
54
54
if [[ " $SIZE " -ne " 0" ]] && [[ " $NAME " == " registry-facade" ]] && [[ " $KIND " == " DaemonSet" ]] ; then
55
55
echo " setting $NAME to $REG_DAEMON_PORT "
56
56
yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].ports.[0].hostPort " $REG_DAEMON_PORT "
57
+ echo " setting $NAME probe period to 120s"
58
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].livenessProbe.periodSeconds 120
59
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].livenessProbe.initialDelaySeconds 15
60
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].readinessProbe.periodSeconds 120
61
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].readinessProbe.initialDelaySeconds 15
62
+ fi
63
+ if [[ " $NAME " == " blobserve" ]] && [[ " $KIND " == " Deployment" ]] ; then
64
+ echo " setting $NAME probe period to 120s"
65
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].livenessProbe.periodSeconds 120
66
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].livenessProbe.initialDelaySeconds 15
67
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].readinessProbe.periodSeconds 120
68
+ yq w -i k8s.yaml -d " $documentIndex " spec.template.spec.containers.[0].livenessProbe.initialDelaySeconds 15
57
69
fi
58
70
if [[ " $SIZE " -ne " 0" ]] && [[ " $NAME " == " ws-daemon" ]] && [[ " $KIND " == " DaemonSet" ]] ; then
59
71
echo " setting $NAME to $WS_DAEMON_PORT "
You can’t perform that action at this time.
0 commit comments