- 删除指定命名空间下所有含有
service
的 pod:kubectl get pods -n hx-test | grep service | awk -F ' ' '{print $1}' | xargs kubectl delete pods -n hx-test
- 清理镜像:
docker image list | grep service | grep latest | awk -F ' ' '{print $1}' | xargs docker image rm
-
Notifications
You must be signed in to change notification settings - Fork 0
SeptemberHX/exp-scripts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published