blog-code icon indicating copy to clipboard operation
blog-code copied to clipboard

nodepool删除 Not found error

Open moluzhui opened this issue 4 years ago • 0 comments

使用Finalizers特性后删除CR后出现大量 pool Not Found error

	if err := r.Get(ctx, req.NamespacedName, pool); err != nil {
		r.Log.Error(err, "can not get node pool")
		return ctrl.Result{}, err
	}

个人理解: 使用Finalizers 最后会删除Finalizers列表的字段。此时会Update Pool,从而再次触发Reconcile,此时CR已删除,Not found error。 但是后续的Reconcile 触发 Not Found error请问是什么原因,谢谢

moluzhui avatar Oct 27 '21 07:10 moluzhui