wastes-1txrpx0 has a mix of healthy and unhealthy Pods. Build the view you need:
sh
kubectl get pods -n wastes-1txrpx0 -o custom-columns=NAME:.metadata.name,IMAGE:.spec.containers[0].image,RESTARTS:.status.containerStatuses[0].restartCount
kubectl get pods -n wastes-1txrpx0 --sort-by=.status.containerStatuses[0].restartCount
kubectl get pods -n wastes-1txrpx0 --field-selector status.phase!=RunningA finished Job left Succeeded Pods behind. Remove them with a filter and -o name:
sh
kubectl get pods -n wastes-1txrpx0 --field-selector status.phase=Succeeded -o name
kubectl get pods -n wastes-1txrpx0 --field-selector status.phase=Succeeded -o name | xargs kubectl delete -n wastes-1txrpx0