mirror of
https://github.com/ben1234560/k8s_PaaS.git
synced 2025-04-21 15:15:53 +08:00
Add. 补充命令说明
This commit is contained in:
parent
20ce23e3a0
commit
80c58f8ee9
@ -32,7 +32,7 @@ kubectl get svc $DEPLOYNAME -n$NAMESPACE
|
||||
kubectl get pod --all-namespaces | grep -E 'testA| testB' | awk '{print $1" "$2}' | while read line ; do kubectl delete pod -n $line ; done
|
||||
~~~
|
||||
|
||||
> 可以先使用如下命令确认过滤出来的命名空间和pod是否一致
|
||||
> 可以先使用如下命令确认过滤出来的命名空间和pod是否一致,其中testA和testB是要过滤出来的pod名
|
||||
>
|
||||
> ~~~
|
||||
> kubectl get pod --all-namespaces | grep -E 'testA| testB' | awk '{print $1" "$2}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user