fix(qbittorrent): persist VueTorrent mod cache - #1234
Merged
Merged
Conversation
Contributor
Static Validation✅ YAML Lint: Passed Summary✅ Homepage Coverage: Passed Argo CD Diff PreviewSummary: Modified (1):
± qbittorrent (+6)qbittorrent (bootstrap/appsets/cluster-apps.yaml)Deployment: media/qbittorrent port: 8080
timeoutSeconds: 1
volumeMounts:
- mountPath: /config
name: config
+ - mountPath: /modcache
+ name: config
+ subPath: modcache
- mountPath: /downloads/incomplete
name: incomplete
subPath: qbittorrent
- mountPath: /data
name: media
@@ skipped 11 lines (79 -> 89) @@
image: busybox:stable
name: clean-stale-locks
volumeMounts:
- mountPath: /config
name: config
+ - mountPath: /modcache
+ name: config
+ subPath: modcache
- mountPath: /data
name: media
nodeSelector:
node-role.kubernetes.io/worker: "true"
securityContext:Stats: |
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.
Both qBittorrent instances lost VueTorrent after restarting while GHCR was unreachable. The mod installer skipped installation because its ephemeral
/modcachewas empty, leaving/vuetorrentmissing.Mount
/modcachefrom amodcachesubdirectory on each instance's existing config PVC. The shared qBittorrent values cover both instances throughbaseAppinheritance, preserve/config, and require no additional PVCs. After one successful download, the installer can reuse the cached mod during a registry outage.Validation:
/modcachemounts changed; PVCs, existing mounts, and all other settings are preserved.Deployment: once ArgoCD's RollingSync reconciles the merge, the pod-template changes will replace both pods. The RU instance may wait for normal reconciliation because the push workflow directly refreshes only the changed base app. The first startup still needs GHCR access to populate the cache. Alternative WebUI is currently disabled in both instances and must be re-enabled at
/vuetorrentafter installation. No live workload changes were made for this PR.