bright-fireman-4214411/13/2022, 8:39 PM
famous-shampoo-1848311/14/2022, 10:46 AM
means the related volume is detached) insides a non-default instance-manager-r pod, the pod will be cleaned up automatically. Similar logic applied to the instance-manager-e pods, but a running engine means the related volume is attached on the node. In other words, after the Longhorn system upgrade, Longhorn will directly deploy a set of instance manager pod as the default one. But at this moment, all attached volumes have running engines/replicas in the old instance managers. If you do live upgrade for the running volumes, the replicas will be migrated to the new instance-manager-r pods then Longhorn can clean up the old instance-manager-r pods automatically. But if you want to clean up the old instance-manager-e pods, you need to detach the old running volumes from the related nodes. In the future, Longhorn may merge the instance-manager-r and instance-manager-e pod on a node into one single pod. And we will consider the improvement of the engine upgrade part.