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 > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to understand the k8s architecture through examples. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
To help you better understand the Kubernetes architecture, we deploy an application to demonstrate how the various components work together.
Execute a command
Kubectl run httpd-app-image=httpd-replicas=2
Wait for a period of time before the application deployment is complete.
① kubectl sends a deployment request to API Server.
② API Server tells Controller Manager to create a deployment resource.
③ Scheduler performs the scheduling task, distributing two copies of Pod to k8s-node1 and k8s-node2.
Kubectl on ④ k8s-node1 and k8s-node2 creates and runs Pod on their respective nodes.
Add two points:
The configuration and current status information of the application is saved in etcd, and API Server reads these data from etcd when kubectl get pod is executed.
Flannel assigns an IP to each Pod. Because service is not created, kube-proxy is not involved yet.
So much for the Kubernetes architecture. Starting from the next section, we will learn more about the various features of Kubernetes through practice. As a container orchestration engine, the most important and basic function is of course to run containerized applications.
The above is how to understand the K8s architecture through examples. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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.