diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ccaf2d3..e885c7c 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -76,15 +76,12 @@ jobs: kubectl apply -f tests/k8s-mediaserver.yml -n mediaserver sleep 15 for pod in $(kubectl get pods -n mediaserver | awk 'NR>1{ print $1 }'); do while [[ $(kubectl get pods $pod -n mediaserver -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "Waiting for mediaserver pods to be ready" && sleep 10; done ; done - sleep 15 - name: Edit hosts file and test apps run: | sudo echo "127.0.0.1 ${{ env.plex_ingress_host }} ${{ env.ingress_host }}" | sudo tee -a /etc/hosts - sudo echo "127.0.0.1 ${{ env.jellyfin_ingress_host }} ${{ env.ingress_host }}" | sudo tee -a /etc/hosts wget ${{ env.ingress_host }}/jackett wget ${{ env.ingress_host }}/sonarr wget ${{ env.ingress_host }}/radarr wget ${{ env.ingress_host }}/sabnzbd wget ${{ env.ingress_host }}/prowlarr curl ${{ env.plex_ingress_host }} - curl ${{ env.jellyfin_ingress_host }} diff --git a/helm-charts/k8s-mediaserver/templates/jackett-resources.yml b/helm-charts/k8s-mediaserver/templates/jackett-resources.yml index e9c96d4..947b351 100644 --- a/helm-charts/k8s-mediaserver/templates/jackett-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/jackett-resources.yml @@ -72,10 +72,9 @@ spec: image: "{{ .Values.jackett.container.image }}:{{ .Values.jackett.container.tag | default .Values.general.image_tag }}" imagePullPolicy: Always readinessProbe: - httpGet: + tcpSocket: port: {{ .Values.jackett.container.port }} - path: /{{ .Values.radarr.ingress.path }}/UI/Dashboard - initialDelaySeconds: 5 + initialDelaySeconds: 15 periodSeconds: 10 ports: - name: jackett-port diff --git a/helm-charts/k8s-mediaserver/templates/plex-resources.yml b/helm-charts/k8s-mediaserver/templates/plex-resources.yml index fc06c6c..67b65ed 100644 --- a/helm-charts/k8s-mediaserver/templates/plex-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/plex-resources.yml @@ -57,6 +57,7 @@ spec: path: "/" initialDelaySeconds: 20 periodSeconds: 15 + timeoutSeconds: 20 ports: - name: plex-port containerPort: {{ .Values.plex.container.port }} diff --git a/helm-charts/k8s-mediaserver/templates/prowlarr-resources.yml b/helm-charts/k8s-mediaserver/templates/prowlarr-resources.yml index a51c676..57525ff 100644 --- a/helm-charts/k8s-mediaserver/templates/prowlarr-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/prowlarr-resources.yml @@ -75,10 +75,11 @@ spec: imagePullPolicy: Always readinessProbe: httpGet: - path: "/{{ .Values.prowlarr.ingress.path }}/ping" + path: "{{ .Values.prowlarr.ingress.path }}/ping" port: {{ .Values.prowlarr.container.port }} initialDelaySeconds: 10 periodSeconds: 20 + timeoutSeconds: 20 ports: - name: prowlarr-port containerPort: {{ .Values.prowlarr.container.port }} diff --git a/helm-charts/k8s-mediaserver/templates/radarr-resources.yml b/helm-charts/k8s-mediaserver/templates/radarr-resources.yml index 9624770..b901eb4 100644 --- a/helm-charts/k8s-mediaserver/templates/radarr-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/radarr-resources.yml @@ -76,10 +76,11 @@ spec: imagePullPolicy: Always readinessProbe: httpGet: - path: "/{{ .Values.radarr.ingress.path }}/ping" + path: "{{ .Values.radarr.ingress.path }}/ping" port: {{ .Values.radarr.container.port }} initialDelaySeconds: 10 periodSeconds: 20 + timeoutSeconds: 20 ports: - name: radarr-port containerPort: {{ .Values.radarr.container.port }} diff --git a/helm-charts/k8s-mediaserver/templates/sabnzbd-resources.yml b/helm-charts/k8s-mediaserver/templates/sabnzbd-resources.yml index b829810..8432cf4 100644 --- a/helm-charts/k8s-mediaserver/templates/sabnzbd-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/sabnzbd-resources.yml @@ -378,10 +378,11 @@ spec: imagePullPolicy: Always readinessProbe: httpGet: - path: /{{ .Values.sabnzbd.ingress.path }}/wizard/ + path: "{{ .Values.sabnzbd.ingress.path }}/wizard/" port: {{ .Values.sabnzbd.container.port.http }} initialDelaySeconds: 5 periodSeconds: 10 + timeoutSeconds: 20 ports: - name: sabnzbd-http containerPort: {{ .Values.sabnzbd.container.port.http }} diff --git a/helm-charts/k8s-mediaserver/templates/sonarr-resources.yml b/helm-charts/k8s-mediaserver/templates/sonarr-resources.yml index 894ffac..be36434 100644 --- a/helm-charts/k8s-mediaserver/templates/sonarr-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/sonarr-resources.yml @@ -75,10 +75,11 @@ spec: imagePullPolicy: Always readinessProbe: httpGet: - path: "/{{ .Values.sonarr.ingress.path }}/ping" + path: "{{ .Values.sonarr.ingress.path }}/ping" port: {{ .Values.sonarr.container.port }} initialDelaySeconds: 10 periodSeconds: 20 + timeoutSeconds: 20 ports: - name: sonarr-port containerPort: {{ .Values.sonarr.container.port }} diff --git a/helm-charts/k8s-mediaserver/templates/transmission-resources.yml b/helm-charts/k8s-mediaserver/templates/transmission-resources.yml index e0c8098..402cb02 100644 --- a/helm-charts/k8s-mediaserver/templates/transmission-resources.yml +++ b/helm-charts/k8s-mediaserver/templates/transmission-resources.yml @@ -142,10 +142,11 @@ spec: imagePullPolicy: Always readinessProbe: httpGet: - path: /{{ .Values.transmission.ingress.path }}/ + path: "{{ .Values.transmission.ingress.path }}/" port: {{ .Values.transmission.container.port.utp }} initialDelaySeconds: 5 periodSeconds: 10 + timeoutSeconds: 20 ports: - name: trans-port containerPort: {{ .Values.transmission.container.port.utp }}