Skip to content
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

Document how to clean container registry and script to prune. #5670

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

claudio4j
Copy link
Contributor

Fix: #5645 Explain how to clean registry

Release Note

NONE

Copy link
Contributor

@squakez squakez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with the condition to disclaim clearly that the tool is a best effort tool and has no expected maintenance.

kubectl delete ik/kit-cpth0mtf799b89lheomg
```

There is a https://github.com/apache/camel-k/blob/main/script/prune-camel-k-kit-images.sh[prune-camel-k-kit-images.sh] script to help you in this task. This script requires the following cli tools: `kubectl, comm, docker`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add a big warning that this is unsupported facility tool for the user to use at his own risk.

@claudio4j
Copy link
Contributor Author

I added a note to the doc and the script there is a parameter -p for the user to explicitly prune the images, so it requires full intention to prune it.

@claudio4j claudio4j merged commit 5696cb6 into apache:main Jun 27, 2024
11 of 12 checks passed
@claudio4j claudio4j deleted the upstream/main_prune_doc branch June 27, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explain how to clean registry
2 participants