piraeus-operator
piraeus-operator copied to clipboard
linstor-server adds extra CRDs
We noticed that there were several LINSTOR CRDs being added to our cluster that were not included in the piraeus operator release, for example;
linstorversion.internal.linstor.linbit.comnodenetinterfaces.internal.linstor.linbit.comnodes.internal.linstor.linbit.com
When we remove Piraeus from our cluster these CRDs persist, which resulted in unwanted state being preserved on future deployments of Piraeus. Specifically the satellites would come back up in an EVACUATE state. It seems like these CRDs should be removed by Piraeus when the linstor cluster has been deleted. Additionally, I think these extra CRDs should be documented to remove any potential future confusion.
@WanzenBug i don't believe this is soley a documentation issue
Whatever solution we come up with, I don't think it will involve automatically wiping the database. This would be extremly painful for cases where the "LinstorCluster" resource was accidentally removed, and suddenly you lose access to all volumes.
I believe a more measured approach (perhaps on recreation somehow asking if the existing resources should be kept), is a better way.