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

PE-4727: Add uninstall scripts for rke2 #62

Merged
merged 2 commits into from
Aug 22, 2024
Merged

PE-4727: Add uninstall scripts for rke2 #62

merged 2 commits into from
Aug 22, 2024

Conversation

gabelchinmay
Copy link
Collaborator

No description provided.

Signed-off-by: gabelchinmay <[email protected]>
@gabelchinmay gabelchinmay marked this pull request as ready for review August 21, 2024 21:18
rm -rf ${STYLUS_ROOT}/etc/cni
rm -rf ${STYLUS_ROOT}/opt/cni/bin
rm -rf ${STYLUS_ROOT}/var/lib/kubelet || true
rm -rf "${RKE2_DATA_DIR}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@gabelchinmay what is this path? does it need to be prefixed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it is "/var/lib/rancher/rke2"

@rishi-anand rishi-anand merged commit 2ca08fa into main Aug 22, 2024
3 checks passed
@rishi-anand rishi-anand deleted the rke2-reset branch August 22, 2024 06:16
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.

3 participants