In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is about what API is in kubernetes. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
One: architecture
Two: description
Kubernetes API is an important part of the cluster system. The data of various resources (objects) in Kubernetes are submitted to the back-end persistent storage (etcd) through the API interface, and the components in the Kubernetes cluster are decoupled through the API interface. At the same time, kubectl, an important and convenient management tool in the Kubernetes cluster, also realizes its powerful management function by accessing the API interface. Resource objects in Kubernetes API all have common metadata, and resource objects may also have nesting phenomena, such as nesting multiple Container in a Pod. Creating an API object means creating a meaningful record through an API call, and once the record is created, Kubernetes will ensure that the corresponding resource object is automatically created and hosted for maintenance.
In Kubernetes system, in most cases, the definition and implementation of API conform to the standard HTTP REST format, such as querying, creating, modifying and deleting related resource objects through standard HTTP verbs (POST, PUT, GET, DELETE). But at the same time, Kubernetes also implements additional API interfaces for some non-standard REST behaviors, such as Watch a change in a resource, entering the container to perform an operation, and so on. In addition, some API interfaces may violate the strict REST schema because instead of returning a single JSON object, the interface returns other types of data, such as JSON object streams (Stream) or unstructured text log data.
Kubernetes developers believe that any successful system will go through a process of growing and adapting to a variety of changes. Therefore, they expect Kubernetes API to be constantly changing and growing. At the same time, they are consciously compatible with existing customer needs in design and development. In general, new API resources (Resource) and new resource domains do not want to be frequently joined to the system. The deletion of resources or domains requires a rigorous audit process.
Thank you for reading! This is the end of this article on "what is API in kubernetes?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.