You may encounter this issue when a pod in the cluster expects a schedulerName
.
Problem
A restore procedure appears to be stuck in pending state.
Cause
schedulerName
defined in the pod spec that is not present in the cluster to which it is being restored.
Prerequisites
velero
namespace on the target cluster, and then reference it when performing the restore.
A resource modifier is a set of rules for applying patches to resources. The following example shows a resource modifier that removes the
schedulerName
field from pod specs during restore.
version: v1 resourceModifierRules: - conditions: groupResource: pods patches: - operation: remove path: "/spec/schedulerName"