kubeslice / kubeslice/kubeslice-cli
Bug: Change Uninstall process of cli - sometimes it fails during controller uninstallation
- Dominant language
- Go
- Stars
- 26
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
### 📜 Description
The current uninstallation process for the CLI sometimes encounters failures specifically during the uninstallation of the controller component. This issue is causing inconvenience and potential data inconsistencies for users attempting to remove the Kubeslice from their systems.
### 👟 Reproduction steps
`kubeslice-cli uninstall -c topology.yaml`
### 👍 Expected behavior
✔ Successfully uninstalled KubeSlice Controller
### 👎 Actual Behavior
Failed to uninstall
Uninstalling KubeSlice Controller...
🏃 Running command: /home/linuxbrew/.linuxbrew/bin/helm --kube-context kind-controller --kubeconfig .kube/config uninstall kubeslice-controller --namespace kubeslice-controller
❌ Failed to run command
Output:
Error: Error: 1 error occurred:
* timed out waiting for the condition
### 🐚 Relevant log output
```shell
Uninstalling KubeSlice Controller...
🏃 Running command: /home/linuxbrew/.linuxbrew/bin/helm --kube-context kind-controller --kubeconfig .kube/config uninstall kubeslice-controller --namespace kubeslice-controller
❌ Failed to run command
Output:
Error: Error: 1 error occurred:
* timed out waiting for the condition
```
### Version
None
### 🖥️ What operating system are you seeing the problem on?
Windows
### ✅ Proposed Solution
first, we can delete crd to trigger the worker uninstallation then remove the controller form the system.
### 👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find any similar issue
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.