I need to list down all the pods with status complete and with given name.
user@host:~$ kubectl get pods
NAME READY STATUS RESTARTS AGE
App1-something 1/1 Running 570 2d
App2-something 1/1 completed 597 2d
App3-something 1/1 completed 570 2d
App4-something 1/1 Running 597 2d
Using Field Selector i can list completed pods, but not able to find the correct command to list down required pod with specific name
Something to get below output
App3-something 1/1 completed 570 2d
kubectl get pod --field-selector=status.phase==Succeeded and pod name is App3-something