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

Force-deleting a Pod in Terminating state doesn't work #1882

Open
micxer opened this issue Dec 2, 2022 · 3 comments
Open

Force-deleting a Pod in Terminating state doesn't work #1882

micxer opened this issue Dec 2, 2022 · 3 comments

Comments

@micxer
Copy link

micxer commented Dec 2, 2022




Describe the bug

In the current version I can't force-delete pods that are stuck in Terminating status using Ctrl-D. The dialog works but nothing happens afterwards. In an older version of k9s this works as expected.

To Reproduce

Steps to reproduce the behavior:

  1. Go into a namespace where a Pod is stuck in Terminating status
  2. Type Ctrl-D and check Force
  3. Hit OK
  4. Pod continues to be stuck in Terminated status instead of being deleted.

Expected behavior

Pod gets deleted almost immediately.

Screenshots

n/a

Versions (please complete the following information):

  • OS: macOS 12.6.1
  • K9s: v0.26.7
  • K8s: 1.21

Additional context

In version 0.24.x it works as expected. I assume the force flag isn't passed to the k8s API.

@harsh6768-svg
Copy link

Same is going for me but I deleted it manually from the cluster

@Adrian-St
Copy link

Having the same issue, force delete works fine in v0.26.2 but stops working in v0.26.3.

@snakenstein
Copy link

snakenstein commented Feb 9, 2023

Still unresolved in v0.27.2

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 a pull request may close this issue.

4 participants