UPDATE
I managed to do this using the nuclio's dashboard.
You can delete this function by nucleo by run this comand:
nuctl delete function <function-name>
It works well with CVAT for me.
Run this command to get all function running by nucleo:
nuctl get function --namespace nuclio
We get this responce:
NAMESPACE | NAME | PROJECT | STATE | REPLICAS nuclio | pth-facebookresearch-sam-vit-h | cvat | building | 1/1
run this command to delete pth-facebookresearch-sam-vit-h
:
nuctl delete function pth-facebookresearch-sam-vit-h
Then run this command get all function running by nucleo again:
nuctl get function --namespace nuclio
And we see that there is no functions running by nucleo.
If it doesn't help you can do it by nucleo UI like in this answer in this issue link.
If you get a delete error, do the following
nuctl delete function <function-name> --platform local --force