In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what Volume, Persistent Volume, Namespace and Annotation mean in kubernetes. I hope you will get something after reading this article. Let's discuss it together.
One: Volume
Volume is a shared directory in Pod that can be accessed by multiple containers. The concept, purpose and purpose of Volume of Kubernetes are similar to those of Volume of Docker, but they are not equivalent. The life cycle of Volume in Kubernetes is the same as that of Pod, but not related to the life cycle of the container. When the container is terminated or restarted, the data in the Volume is not lost.
Two: Persistent Volume
Volume is defined on Pod and is a part of "computing resource". In fact, "network storage" is another kind of physical resource that exists relatively independent of "computing resource". For example, in the case of a virtual machine, we usually define a network storage, then draw a network disk from it and mount it to the virtual machine.
Three: Namespace
Namespace is used in many cases to achieve resource isolation for multi-tenancy. By assigning resource objects within the cluster to different Namespace to form logically grouped different projects, groups or user groups, different groups can be managed separately while sharing the resources of the whole cluster.
Four: Annotation
Annotation, like Label, is also a key/value key-value pair. The difference is that Label has a strict naming convention, which defines the metadata of K8s objects and is used for Label Selector. On the other hand, Annotation is the additional information defined by the user arbitrarily, so that the external tool information can be found easily.
After reading this article, I believe you have a certain understanding of "what is the meaning of Volume, Persistent Volume, Namespace and Annotation in kubernetes". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
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.