evanlucas / fish-kubectl-completions

kubectl completions for fish shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to list the running containers within a pod when looking for logs

barnabasbusa opened this issue · comments

We should be able to list the different containers running within the same pod when looking for the log files.

kubectl logs control <TAB>

Should be able to list

kubectl logs control <TAB>

dns 
named 
nodemgr

Then you should be able to quickly jump through the different containers and select the one you looking for. This works well in zsh kubectl completion.

Control - pod name
DNS, Named, Nodemgr - containers within Control pod