jordanwilson230 / kubectl-plugins

A Collection of Plugins for kubectl Integration (exec as any user, context switching, etc).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bulk inserts have no response???

misteruly opened this issue · comments

shell

for i in kubectl -n spring get pod -o wide | grep harbor | awk '{print $1}';do kubectl exec-as -u root -n spring $i -- echo "192.168.0.3 harbor.kubesphere.lan" >> /etc/hosts;done

It didn't go back in