Replies: 6 comments 3 replies
-
Let me ask you some questions to help us understand the context.
What exactly did you do
Have you done any operations that recreate node resources? For example, CAPI re-creates node when node upgrade. So if you don't set that flag, PVC will be deleted.
Could you please show me the following actual logs?
|
Beta Was this translation helpful? Give feedback.
-
Postgres image tag has been changed and chart recreated the database pods, but unfortunately chart template contains the error and pods didn't start
I've checked some PV marked for deletion, let's check
descaled kafka sts with replica 0, pod terminated
Check topolvm logs
check PV status
descale kafka sts to replica 1 and check pod status
|
Beta Was this translation helpful? Give feedback.
-
The node resource may have been re-created as a result of this operation. Could you check the creation timestamp of the node resource to see what happened?
If the node resource was re-created, TopoLVM's node finalize process delete PVC. So you should disable nodeFinalize feature as you pointed out.
|
Beta Was this translation helpful? Give feedback.
-
The k8s upgrade was performed without node drain for worker nodes.
|
Beta Was this translation helpful? Give feedback.
-
Not sure about normal deletion process, because PVs and PVCs are not in terminated state. |
Beta Was this translation helpful? Give feedback.
-
I've found some misconfiguration during topolvm chart upgrade, when chart was upgraded with default "useLegacy=false", after that the chart was redeployed with correct "useLegacy=true".
Could changing |
Beta Was this translation helpful? Give feedback.
-
Hello
Recently I've got an issue during database chart upgrade in a k8 cluster
After pods redeploy, some database PVCs were in pending state with the error about missing volume id
I've checked topolvm-node logs and found that topolvm deleted a lot of LVs on physical nodes and data was completely lost for a half of databases in a cluster.
How to prevent this devastating behaviour?
Will nodeFinalize help?
Beta Was this translation helpful? Give feedback.
All reactions