In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Just in case (the online environment must be cautious and careful), removing the image will have an unnecessary impact on the existing pod; the following operations are run on the node node with the least number of containers! (if not, you can reopen a node node)
1. First use the kubectl get po-namespace namespace to view the existing pod of the namespace.
2. Redeploy pod to generate redundant images images on the node node
3. Use the docker system df command to check the number of images and containers before clearing the images.
Note: similar to the df command on Linux, it is used to view the disk usage of Docker. This command can see the number of images and containers in the node node.
4. Use docker system prune-a. Clear useless images
Note: the docker system prune command can be used to clean up disks, delete closed containers, useless data volumes and networks, and dangling images (that is, mirrors without tag). The docker system prune-a command cleans up more thoroughly and removes the use of Docker images without containers. Note that these two commands will delete the containers you have temporarily closed and the Docker images that you have not used for the time being. So be sure to think carefully before using it.
5. Use the docker system df command to check the number of images and containers; whether it is successful or not
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.