nilic / kubectl-netshoot

kubectl plugin for spinning up netshoot container for network troubleshooting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for mounting volumes into ephemeral container

gberche-orange opened this issue · comments

Thanks for sharing this great plugin with the community !

As a kubectl-netshoot user,
In order to inspect mounted volumes in a pod, such as secrets, configmaps or volumes that can be mounted more than once,
I need an kubectl-netshoot option to craft the ephemeral container with volumeMounts from the pod

See kubernetes/kubectl#1071 (comment)

I started crafting some bash + jq script to do so, see WIP at https://github.com/orange-cloudfoundry/paas-templates/issues/1949#issuecomment-1549714130 but this feels snowflake. This seems much better located into kubectl-netshoot