In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "what does kubernetes mean". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "what does kubernetes mean?"
0.kubernetes, referred to as K8S in China, is a large-scale container management tool, which originated from Google's internal Borg project, gathered the essence of Borg design ideas, and absorbed the experience and lessons of Borg system. When Tiwtter launched its own Borg system (mesos), Google opened up the internal Borg project, named kubernetes, and released version V1.0 on July 22nd, 2015, which means that this open source container choreography system can be officially used in a production environment.
1.kubernetes, referred to as K8S, is an open source application used to manage containerization on multiple hosts in the cloud platform. The goal of K8S is to make it easy and efficient to deploy containerized applications. K8S provides an application deployment, planning, update, maintenance and mechanism.
One of the core features of 2.K8S: the ability to manage containers independently to ensure that the containers in the cloud platform run according to the desired state of the user. The administrator can load a micro service and let the planner find the right location automatically. At the same time, K8S system also provides some user-friendly tools that allow users to easily deploy their own applications (Like canary deployment).
3. At present, K8S focuses on providing uninterrupted service status and native cloud platform applications, and will soon support a variety of services in a variety of production cloud platforms, such as batching, workflow and traditional DB.
4. In K8S, all containers run in Pod, and one or more related containers can be carried in a Pod. In later cases, containers in the same Pod will be deployed on the same physical machine and can share resources. A Pod can also contain 0 or more disk volume groups volumes, which will be provided to a container in the form of directories or shared by all containers in the Pod. For each Pod created by the user, the system will automatically select a healthy container with sufficient capacity, and then create a container similar to the container. When the container creation fails, the container will be automatically restarted by the node agent node agent, but if the Pod fails or the machine fails It does not automatically transfer and start unless the user defines a replication controller.
5. Users can create and manage their own Pod, and K8S simplifies these operations into two operations: deploying multiple Pod replicas based on the same Pod profile, creating an alternative Pod, and creating an alternative Pod when a Pod or machine dies. The part of K8S API that is responsible for behaviors such as migration and restart is called replication controller. It generates a Pod based on a template, and then the system creates many redundant Pod according to the user's behavior, which make up an entire application, or a service, or a layer of a service. Once a Pod is created, the system will constantly monitor the health status of the Pod and the host where the Pod resides. If the Pod dies due to software reasons, or if the machine dies, replication controller will automatically create an identical Pod on another healthy machine to maintain the original Pod redundancy, and multiple Pod of an application can share the same machine.
6. When operating K8S, it is often necessary to select a group of Pod, such as restricting some operations of a group of Pod, or querying the status of a group of Pod. As the basic mechanism of K8S, users can attach a set of KEY:VALUE tags to any object in K8S API, and then select a group of related K8S API objects through tags, and then perform a set of specific operations. Each resource has an additional set or sets of KEYS and VALUES, and then external tools can use these keys and values values for object retrieval, these map are called annotations.
7.K8S supports a special network model. K8S creates an address space and does not dynamically allocate goods, allowing users to choose any port they want. In order to achieve this function, it assigns IP addresses to each Pod.
8. Modern Internet applications generally consist of multi-tier services, such as web foreground space and memory servers used to store key-value pairs, as well as corresponding storage services. in order to better serve such an architecture, K8S provides an abstraction of services and provides fixed IP and DNS names, which are dynamically associated with a series of Pod, all associated with the tags mentioned earlier. So we can associate any Pod we want to associate with. When a container in Pod accesses this address, the request will be forwarded to the local proxy kube proxy, which has a local proxy on each machine, and then forwarded to the corresponding backend container. K8S selects the corresponding backend container through the polling mechanism. When these dynamic Pod are replaced, the kuber proxy tracks them all the time, so the IP address or DNS name of the service is never changed.
9. All resources in K8S, such as Pod, are distinguished by something called URI, which has a UID. The important components of URI are: the type of the object (such as Pod), the name of the object, and the namespace of the object. For special object types, all names are different within the same namespace. In cases where objects provide only names and no namespaces, this is assumed to be the default namespace and UID is unique in time and space.
The above is all the contents of this article "what does kubernetes mean?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.