Keep arr health probes working with hostname restrictions - #1231
Merged
Merged
Conversation
Contributor
Static Validation✅ YAML Lint: Passed Summary✅ Homepage Coverage: Passed Argo CD Diff PreviewSummary: Modified (7):
± bazarr (+9|-9)
± lidarr (+9|-9)
± prowlarr (+9|-9)
± radarr (+9|-9)
± radarr-ru (+9|-9)
± sonarr (+9|-9)
± sonarr-ru (+9|-9)bazarr (bootstrap/appsets/cluster-apps.yaml)Deployment: media/bazarr name: bazarr-secret
image: lscr.io/linuxserver/bazarr:v1.6.1-ls364@sha256:d24bd0048c759a468970989e9df11a6b96a7628d556d00f923e60a35ba59237b
livenessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 6767
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
name: main
readinessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 6767
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
resources:
requests:
cpu: 10m
memory: 64Mi
startupProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 6767
- scheme: HTTP
- initialDelaySeconds: 0
periodSeconds: 5
- timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: medialidarr (bootstrap/appsets/cluster-apps.yaml)Deployment: media/lidarr value: Asia/Jerusalem
image: lscr.io/linuxserver/lidarr:3.1.0.4875-ls41@sha256:8ab0fd370b604ae034d9a9c261a9d8d873bece33d9736852e7ce4f3566e4a35d
livenessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8686
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
name: main
readinessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8686
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
resources:
requests:
cpu: 10m
memory: 64Mi
startupProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8686
- scheme: HTTP
- initialDelaySeconds: 0
periodSeconds: 5
- timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: mediaprowlarr (bootstrap/appsets/cluster-apps.yaml)Deployment: media/prowlarr value: Asia/Jerusalem
image: lscr.io/linuxserver/prowlarr:2.6.5.5623-ls161@sha256:c96b56d94d116a9f4de94bc23d3381689492e6c3cfb7435320e8d982e406f99a
livenessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 9696
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
name: main
readinessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 9696
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
resources:
requests:
cpu: 10m
memory: 64Mi
startupProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 9696
- scheme: HTTP
- initialDelaySeconds: 0
periodSeconds: 5
- timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
dnsPolicy: ClusterFirst
enableServiceLinks: falseradarr (bootstrap/appsets/cluster-apps.yaml)Deployment: media/radarr value: Asia/Jerusalem
image: lscr.io/linuxserver/radarr:6.4.4.10685-ls317@sha256:c960f2b52ec6542dbe6707c5a21e696a7c74fd8b17997454f4d10a55dacee133
livenessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 7878
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
name: main
readinessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 7878
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
resources:
requests:
cpu: 10m
memory: 64Mi
startupProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 7878
- scheme: HTTP
- initialDelaySeconds: 0
periodSeconds: 5
- timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: mediaradarr-ru (bootstrap/appsets/cluster-apps.yaml)Deployment: media/radarr-ru value: Asia/Jerusalem
image: lscr.io/linuxserver/radarr:6.4.4.10685-ls317@sha256:c960f2b52ec6542dbe6707c5a21e696a7c74fd8b17997454f4d10a55dacee133
livenessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 7878
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
name: main
readinessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 7878
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
resources:
requests:
cpu: 10m
memory: 64Mi
startupProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 7878
- scheme: HTTP
- initialDelaySeconds: 0
periodSeconds: 5
- timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: mediasonarr (bootstrap/appsets/cluster-apps.yaml)Deployment: media/sonarr value: Asia/Jerusalem
image: lscr.io/linuxserver/sonarr:4.0.20.3014-ls325@sha256:a5c1a5fecbef946927ab90ad68df319ac5fe644057e5fc18cd993f01ac07b2b2
livenessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8989
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
name: main
readinessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8989
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
resources:
requests:
cpu: 10m
memory: 64Mi
startupProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8989
- scheme: HTTP
- initialDelaySeconds: 0
periodSeconds: 5
- timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: mediasonarr-ru (bootstrap/appsets/cluster-apps.yaml)Deployment: media/sonarr-ru value: Asia/Jerusalem
image: lscr.io/linuxserver/sonarr:4.0.20.3014-ls325@sha256:a5c1a5fecbef946927ab90ad68df319ac5fe644057e5fc18cd993f01ac07b2b2
livenessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8989
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
name: main
readinessProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8989
- scheme: HTTP
- initialDelaySeconds: 0
- periodSeconds: 10
timeoutSeconds: 5
resources:
requests:
cpu: 10m
memory: 64Mi
startupProbe:
failureThreshold: 30
httpGet:
+ httpHeaders:
+ - name: Host
+ value: localhost
path: /ping
port: 8989
- scheme: HTTP
- initialDelaySeconds: 0
periodSeconds: 5
- timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: mediaStats: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After the full cluster rebuild, Sonarr and Radarr RU repeatedly restarted despite completing database initialization and starting their HTTP servers. Their retained
AllowedHostssettings rejected the pod-IP hostname used by Kubernetes probes:/pingreturned HTTP 400, while the same pod-IP request withHost: localhostreturned HTTP 200.Both apps have since recovered after the user changed their live
AllowedHostssettings to*. This PR is no longer an emergency recovery dependency; it lets health checks work with hostname restrictions enabled.Set that stable Host header in the shared *arr startup, readiness and liveness probes. The pinned app-template chart only supports custom headers through
custom: true, so the five base services move their existing numeric ports intospec.httpGet.port; Sonarr RU and Radarr RU continue inheriting their base values. Application hostname restrictions remain in place. A merge rolls out Sonarr, Sonarr RU, Radarr, Radarr RU, Lidarr, Prowlarr and Bazarr.Validation:
This corrects a hostname-filtering recovery failure; it does not establish that the separate SQLite-on-NFS issues are resolved.