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

k9s delete behaves differently with kubectl #2106

Closed
dongho-jung opened this issue May 27, 2023 · 2 comments
Closed

k9s delete behaves differently with kubectl #2106

dongho-jung opened this issue May 27, 2023 · 2 comments

Comments

@dongho-jung
Copy link

dongho-jung commented May 27, 2023

I'm using k8s 1.26 on EKS.

I had a pod that have terminationGracePeriodSeconds as 60 seconds

  • When I kubectl delete the pod, it turns into Terminating state for 60 seconds and gets deleted with SIGKILL signal as I expected.
  • When I ctrl+d (delete) with propagation=whatever the pod, it disappears in display immediately and I can't see it with kubectl get pod anymore despite not even a minute having passed. Interestingly, If I already have kubectl logs -f or kubectl exec -it with it, I could interact with it for 60 seconds

I thought k9s delete behaves similarly with kubectl.. but it didn't. why does it so?

I checked with k9s -l debug but couldn't find any interesting yet.

@fbueno
Copy link

fbueno commented May 31, 2023

Doesn't it happen all the time? Is it the way to reproduce it?

Have you tried upgrading to the latest k9s version?

@dongho-jung
Copy link
Author

I was using v0.26.3(0893f13, 2022-08-04T05:18:24Z)
and I tried again with v0.27.4(f4543e9, 2023-05-07T16:55:34Z).

now, it was shown as Terminating as I expected

image

thanks for reminding me of k9s version. I'll close this issue

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

No branches or pull requests

2 participants