This commit is contained in:
Stavros kois
2023-11-21 10:09:52 +02:00
committed by Stavros Kois
parent ee21e3d9b9
commit 2dc5408361
5 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{{- define "immich.machinelearning.workload" -}}
{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
{{- $url := printf "http://%v-server:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
workload:
machinelearning:
enabled: true

View File

@@ -1,6 +1,6 @@
{{- define "immich.microservices.workload" -}}
{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
{{- $url := printf "http://%v-server:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
workload:
microservices:
enabled: true

View File

@@ -31,17 +31,17 @@ workload:
liveness:
enabled: true
type: http
path: /server-info/ping
path: /api/server-info/ping
port: {{ .Values.immichNetwork.webuiPort }}
readiness:
enabled: true
type: http
path: /server-info/ping
path: /api/server-info/ping
port: {{ .Values.immichNetwork.webuiPort }}
startup:
enabled: true
type: http
path: /server-info/ping
path: /api/server-info/ping
port: {{ .Values.immichNetwork.webuiPort }}
initContainers:
{{- include "ix.v1.common.app.postgresWait" (dict "name" "postgres-wait"

View File

@@ -1,6 +1,6 @@
{{- define "immich.typesense.workload" -}}
{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
{{- $url := printf "http://%v-server:%v/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
{{- $url := printf "http://%v-server:%v/api/server-info/ping" $fullname .Values.immichNetwork.webuiPort }}
workload:
typesense:
enabled: true

View File

@@ -9,7 +9,7 @@ wait-url:
- -c
- |
echo "Pinging [{{ $url }}] until it is ready..."
until wget --spider --quiet "{{ $url }}"; do
until wget --spider --quiet --timeout=3 --tries=1 "{{ $url }}"; do
echo "Waiting for [{{ $url }}] to be ready..."
sleep 2
done