What on earth I am doing wrong ? ``` k get po -ncka NAME READY STATUS . . .

ameya agashe:
What on earth I am doing wrong ?

k get po -ncka
NAME        READY   STATUS    RESTARTS   AGE
websphere   1/1     Running   0          17m
k exec --stdin --tty websphere -- /bin/bash -ncka
Error from server (NotFound): pods "websphere" not found
k exec -it websphere -- bash -ncka
Error from server (NotFound): pods "websphere" not found

Can someone guide me please?

Tej_Singh_Rana:
Don’t use -ncka after the double hyphen (–). It assumes it runs inside containers.

kubectl exec --stdin --tty websphere -ncka -- bash

ameya agashe:
Thanks Tej

ameya agashe:
that worked