Solved

Pod in error, won't delete

  • 25 October 2023
  • 1 reply
  • 62 views

Userlevel 3
Badge +9

23R1 

Have a pod in error status

cdftest       ifsapp-odata-d56d85f77-nckjd                            0/2     Error       4 (16d ago)        20d

 

Tried to delete with 

kubectl delete pod ifsapp-odata-d56d85f77-nckjd

It says it can’t find that pod

Container log proxy

unable to retrieve container logs for containerd://00a97ddf800a8f9a06454f29ffce9b7aff996eb023f4c319d0333bd429f8c487

Container log  odata

unable to retrieve container logs for containerd://8e8ba3545c9fea5e1c7bafc1655016514024818da17aa91ddd66a63fb57c8c78

 

Have tried rebooting and 
 

kubectl scale deploy --replicas=0 --all -n cdftest

Did not help 

 

icon

Best answer by Ben Monroe 25 October 2023, 02:09

View original

1 reply

Userlevel 5
Badge +12

Hi Alex,

 

kubectl delete pod ifsapp-odata-d56d85f77-nckjd

You need to specify the namespace. Please add “-n cdftest” to the command.

Best regards -- Ben

Reply