From 2f6c358860cfe875582eadbadccad9b1afd1ee9b Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 15 Feb 2024 09:45:57 -0600 Subject: [PATCH] invoice-ninja: Update PVC for restored backup The Longhorn volume for the *invoice-ninja* PVC got into a strange state following an unexpected shutdown this morning. One of its replicas seemed to have disappeared, and it also thought that the size had changed. As such, it got stuck in "expanding" state, but it was not actually being expanded. This issue is described in detail in the Longhorn documentation: [Troubleshooting: Unexpected expansion leads to degradation or attach failure][0]. Unfortunately, there is no way to recover a volume from that state, and it must be deleted and recreated from backup. This changes some of the properties of the PVC, so they need to be updated in the manifest. [0]: https://longhorn.io/kb/troubleshooting-unexpected-expansion-leads-to-degradation-or-attach-failure/ --- invoice-ninja/invoice-ninja.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/invoice-ninja/invoice-ninja.yaml b/invoice-ninja/invoice-ninja.yaml index 0d5bd1e..cfb02c9 100644 --- a/invoice-ninja/invoice-ninja.yaml +++ b/invoice-ninja/invoice-ninja.yaml @@ -12,7 +12,8 @@ spec: - ReadWriteMany resources: requests: - storage: 1Gi + storage: 3816Mi + storageClassName: longhorn-static --- apiVersion: v1