-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesnt work "kamel kit delete" #4628
Comments
Hi, You probably can't delete the kit with the CLI command because it was created by the operator, so this is not a bug from the CLI. Therefore it is a platform one which is supposed to be "read only" thus not managed by the end user. This command is only available on user created integration kit. You can delete it by removing the custom resource |
As @gansheer is pointing out, there is no "safe" way to delete an IntegrationKit because it could be used by any other Integration or as a base image for other IntegrationKits. In order to make sure that an IntegrationKit is safe to delete, you need to make sure it is not referenced by any other Integration or IntegrationKits. |
thanks @squakez . I deleted an image safely after control via |
Yes, this is an expected behavior. We've worked and discussed possible solutions see #4552 but we haven't yet found a proper way to deal with it. The best approach would be to provide some script to list dangling images and delete them from the registry. |
Interaction with any image registry from the camel-k CLI would be difficult because we would no longer be in the use case of a kubernetes API. On minikube the solution is to identify your kit images with something like |
OK. I deleted images with Btw I got manifest errors sometimes when the operator fetch an image and image building steps. I can't create a new integration with new image even if I run |
Registry cleaning is some operation which has to be performed with the proper company privileges. I would not expect a production environment to let the operator to take care of such a sensitive operation. Remind that the registry images could be shared by other cluster as well, so, any delete operation must be done with particular care to avoid any later error when trying to run new Integrations. |
I got it. It makes sense. "kamel kit delete" feature is not require in this situation. Registry images and kits can be deleted in registry with |
This issue has been automatically marked as stale due to 90 days of inactivity. |
Hi,
I can not delete camel kits via
kamel kit delete kit-<random_number>
command. Alsokamel kit delete --all
command doesn't work. I just usekamel reset
to delete all kit. However, it's not an effective way. May kamel cli tool be problematic? How can I solve this issue? I am using latestkamel
version and I am using minikube.The text was updated successfully, but these errors were encountered: