Skip to content

chore: add KOF cleanup script#596

Merged
AndrejsPon00 merged 1 commit into
k0rdent:mainfrom
AndrejsPon00:add-kof-cleanup-script
Oct 27, 2025
Merged

chore: add KOF cleanup script#596
AndrejsPon00 merged 1 commit into
k0rdent:mainfrom
AndrejsPon00:add-kof-cleanup-script

Conversation

@AndrejsPon00
Copy link
Copy Markdown
Contributor

@AndrejsPon00 AndrejsPon00 commented Oct 23, 2025

This PR adds a cleanup script kof-nuke.bash to completely remove KOF and its dependencies from a Kubernetes cluster. The script provides an automated way to uninstall all KOF helm charts, remove associated CRDs and clean up KOF namespace

@AndrejsPon00 AndrejsPon00 requested a review from gmlexx as a code owner October 23, 2025 20:52
Copilot AI review requested due to automatic review settings October 23, 2025 20:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a cleanup script (kof-nuke.bash) to completely remove KOF and its dependencies from a Kubernetes cluster. The script provides an automated way to uninstall all KOF components, remove associated CRDs, clean up namespaces, and delete Istio cluster resources.

Key changes:

  • New bash script for comprehensive KOF cleanup operations
  • Handles Helm chart uninstallation for all KOF components
  • Removes finalizers from resources to enable clean deletion
  • Cleans up CRDs, namespaces, and Istio cluster-wide resources

Comment thread scripts/kof-nuke.bash Outdated
Comment thread scripts/kof-nuke.bash Outdated
Comment thread scripts/kof-nuke.bash Outdated
Comment thread scripts/kof-nuke.bash Outdated
Comment thread scripts/kof-nuke.bash Outdated
Comment thread scripts/kof-nuke.bash Outdated
Comment thread scripts/kof-nuke.bash Outdated
@AndrejsPon00 AndrejsPon00 force-pushed the add-kof-cleanup-script branch 2 times, most recently from 2e2e89f to daaf613 Compare October 24, 2025 12:38
denis-ryzhkov
denis-ryzhkov previously approved these changes Oct 24, 2025
Comment thread scripts/kof-nuke.bash Outdated
@AndrejsPon00 AndrejsPon00 force-pushed the add-kof-cleanup-script branch from 2bf8dbf to 5df5ce6 Compare October 26, 2025 12:28
@gmlexx
Copy link
Copy Markdown
Collaborator

gmlexx commented Oct 27, 2025

@AndrejsPon00 could you add some description why do we need this, please?

@AndrejsPon00 AndrejsPon00 merged commit e584c91 into k0rdent:main Oct 27, 2025
3 checks passed
@github-project-automation github-project-automation Bot moved this to Done in k0rdent Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants