ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Day 2 | Kubernetes Architecture In-Depth - ApiServer, etcd, Admssion Controllers, Scheduling
ฝัง
- เผยแพร่เมื่อ 16 ส.ค. 2024
- This Bootcamp welcomes everyone, regardless of your background or experience. This is the 2nd Episode of the Kubernetes in Hindi Course where we learnt about the various components of Kubernetes starting from ApiServer to CRIs.
Link to the Notes: drive.google.c...
Follow the Kubernetes in Hindi Course here: • The Kubernetes Product...
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
04:15 - Kubernetes Architecture Overview
12:45 - kube-apiserver
17:00 - Admission Controllers
33:30 - etcd
45:20 - kube-scheduler
51:10 - kube-controller-manager
55:50 - kube-proxy & kubelet
01:02:30 - CRI, CNI
01:18:30 - Metrics
01:22:0 - Q/A
► My LinkedIn: / prerit-munjal
► My Instagram: / techwithprerit
Music track: Nothing by Damtaro
Source: freetouse.com/...
No Copyright Music (Free Download)
Finally found someone who is teaching the in-depth backend instead of just commands
thank you for the session prerit, learnt a lot
1) communication between pods in the same namespace - service mesh
2) communication between pods in the same node but different namespace - kubeproxy
3) communication in different nodes - kubeproxy
4) communication between different clusters - VPN or some other networking solution like peering
5) communication between different containers in the same namespace - localhost
I guess answer for first question is network policy.
hi Prerit, thanks for this amazing content
bhai Maza aa gya pad Ke pura smjh aa gya crystal clear.
Glad you liked it🙌🙌🙌
Thanks for the wonderful session Prerit.
1. Cluster IP
2. Using Services/ use fqdn (DNS) of the service in other ns
3. Kubeproxy
4. VPN or Direct peering / Ingress controllers
5. Using locahost
Answer 5) When two containers are in the same Pod within the same cluster and namespace, communication between them can be facilitated through several mechanisms: A)Localhost: B)IPC (Inter-Process Communication): C)Shared Volumes: D)Environment Variables: In this example:
Container A is an nginx container.
Container B is a BusyBox container.
Container A sets an environment variable CONTAINER_A_ENV_VAR.
Container B reads the environment variable set by Container A and echoes its value. It also performs a wget command to access Container A's nginx server running on localhost.
1 service mesh
2 kubeproxy
3 kubeproxy
4 DNS
5 localhost
Answer 2) Pod can communicate to each other within same node as for example --- In this example, pod-a is in namespace-a and pod-b is in namespace-b. If both Pods are scheduled on the same node, they can communicate with each other using DNS, ClusterIPs, or directly via IP addresses as mentioned earlier.
undoubtedly within a few dayS, this series WILL be the MOST WATCHED on K8S. the level of details and the kind of info he shared "NOBODY" is teaching OR TAUGHT/INCLUDED IN THEIR COURSES INCLUDING THE PAID COURSES. GOOD LUCK PRERIT. absolutely LOVED IT. and bhao ne sach kaha tha series shuru mein ki K8s mujhse acha koi nahi padhayega hindi mein youtube per. BHAO NE K8s ko ek dum KHAALIYA PEELIYA AUR JEELIYA.
Thanks for your kind words man 🙌🙌
1.pods in same ns can communicate each other with ip and port
2.pods in different ns can communicate via bridge or iptables based on CNI
3.communication between pods in two different nodes happens via pod eth to iptables to node eth0 to a switch( hyper v or VMware switch) to node 2 eth0 to node 2 iptables to node 2 pod
4. 4 will be same as 3 if they are in same subnet else it will have a additional route to a physical switch with trunking ports connected to make the communication possible
5.local host:port
1. Cluster Ip
2. FQDN
3. DNS name
4. Node port
5. Local host
Answer 3) In this scenario, pod-a is in namespace-a and pod-b is in namespace-b. If both Pods are scheduled on different nodes within the cluster, they can communicate with each other using DNS, ClusterIPs, or direct IP-to-IP communication facilitated by the Kubernetes networking layer.
Bhai control plane toh sub batate but wo Sara architecture bana kr Deep dive yahi sikhne ko mil rha. Future classes me Or maja aane wala hai
heheh, bilkul :)
Kubernetes architecture comprises control plane and worker nodes. The control plane handles authentication, authorization, and scheduling, while worker nodes run containers. The video discusses key components like the API server, scheduler, and ETCD, and explains concepts like GRPC, REST, and container runtime.
Key moments:
05:00 The video discusses the implementation of different versions of HTTP protocols and the significance of REST and API in system communication. It also touches on the basics of client-server architecture.
-The evolution of HTTP protocols from 1.1 to 3 and their widespread adoption by companies is highlighted, emphasizing the importance of understanding REST and API in system communication.
-The concept of client-server architecture is explained using simple analogies, clarifying the roles of clients and servers in requesting and delivering data in system communication.
-The video delves into the significance of JSON and XML-based communication protocols like REST and SOAP, shedding light on their historical development and practical applications.
08:16 The video discusses the concepts of GRPC, REST, and communication protocols. It explains the roles of different components in a system architecture.
-Comparison between GRPC and REST communication protocols, their implementations, and differences in data transfer methods.
-Explanation of different components like Control Plane, Worker Plane, and their functions in a system architecture.
-Importance of authentication and authorization processes in a system, using examples like security guards in a school to explain the concepts.
16:22 Admission control involves validating and authorizing requests, crucial for security. Mutated and validated controllers play key roles in application production processes.
-Different types of admission controllers like mutated and validated controllers are essential for ensuring application security and integrity.
-Understanding the significance of mutation and validation in the admission control process is crucial for maintaining the integrity of the application production.
-Exploring the role of webhooks, validation, and mutation in admission control processes to ensure secure and efficient application deployment.
24:25 Understanding the concept of components, file manipulation, and command execution in a programming context is crucial for efficient development. Learning about plugins, validation, and application control enhances the development process and ensures code quality.
-Exploring the usage of plugins like grep and grab for efficient command execution and file manipulation in programming at 24:25.
-Understanding the significance of validation and enabling features in plugins to maintain code quality and enhance development efficiency at 25:56.
-Delving into the role of admission controllers, custom resources, and plugin architecture in application development for streamlined processes and improved code management at 28:25.
36:14 Understanding the process of leader election in distributed systems is crucial for system functionality and performance, involving candidates, followers, and timing for consensus.
-Explaining the concept of databases and their significance in storing data, including input/output operations and CPU usage tracking.
-Discussing the importance of consensus in distributed systems, where nodes elect leaders to ensure system stability and decision-making.
-Detailing the process of leader election, follower roles, and the impact of timing out in elections for system functionality.
40:34 Understanding the data transmission process in IT systems involves concepts like data encryption, log files, and transaction validation cycles. The video delves into the intricacies of scheduling, node prioritization, and cluster optimization in IT infrastructure.
-Exploring the significance of log files, data encryption, and binary formats in data transmission processes.
-Discussing the importance of transaction logs, disk storage, and data migration in database management.
-Analyzing the concepts of scheduling cycles, node prioritization, and cluster optimization in IT systems.
48:40 Understanding the process of node binding in the scheduling cycle is crucial for advanced users exploring Kubernetes. The video covers topics like node ranking, binding process, internal algorithms, and cloud controller manager.
-Node binding process and its relation to scheduling cycles. It involves node confirmation, binding, and internal algorithms like tolerance and available space.
-Importance of node ranking and binding in Kubernetes. Exploring internal codes, algorithms, and the role of the cloud controller manager.
-Introduction to cloud controller manager and its tasks in managing cloud-based resources. Understanding concepts like cron jobs, proxies, and advanced topics in Kubernetes.
56:47 Understanding the concept of IP tables and their role in networking is crucial for managing containers and services effectively in a cloud-based environment.
-Explaining the significance of private IP ranges and their usage in internal networks.
-Discussing the concept of IP mapping and how it facilitates service assignment within a network.
-Highlighting the importance of understanding IP tables and their creation for effective networking and service management.
1:04:51 The video explains the process of creating containers and running applications within them, highlighting the role of CRIs and CNIs in container orchestration.
-Understanding the concept of container groups and their role in isolating resources within a network.
-Exploring the deployment process and architecture depth in container orchestration.
-Discussing the significance of matrix production servers and network peers in container management.
1:12:55 Understanding container run time, networking, and pod management is crucial for production environments. It involves IP tables, proxy management, and service forwarding within clusters.
-Explaining the concept of container run time and networking in production environments.
-Discussing the importance of IP tables, proxy management, and service forwarding within clusters.
-Highlighting the significance of pod management, including handling multiple nodes, different namespaces, and cluster communication.
1:20:59 The video discusses various concepts related to networking, deployment, and application rollout strategies. It emphasizes the importance of understanding interfaces, plugins, and storage classes in the context of production environments.
-Exploration of networking concepts, load balancing, and application deployment strategies.
-Discussion on external storage usage, integration methods, and service types.
-Explanation of scaling techniques, documentation importance, and architecture considerations.
1:29:01 The video discusses the importance of learning new tools and technologies in the field of cloud computing and the impact of remote jobs on career choices. It emphasizes the need for continuous learning and adapting to new tools for career growth.
-The speaker reflects on his learning journey and the significance of understanding cloud computing tools for career advancement.
-The video highlights the challenges and opportunities of remote jobs, emphasizing the importance of continuous learning and skill development.
-The importance of adapting to new tools and technologies in the field of cloud computing is emphasized, along with the impact on career progression and skill enhancement.
1:37:05 Understanding cloud concepts and tools is crucial for career growth. It is important to balance knowledge, experience, and passion in the tech industry.
-The importance of cloud architecture and hands-on experience in the tech industry.
-The significance of skills over degrees and the value of practical experience in job roles.
-Balancing work-life priorities, adapting to different work schedules, and the importance of continuous learning and automation tools.
Thank you prerit! Fantastic content
Glad you enjoyed it!
Weekend should be good 👍 but not in the evening, pls make it in morning at 11:00 AM.
Would love to talk with you Prerit..!!
+1
I really need to watch it 2-3 times to understand todays topic
Thanks for this amazing content
Thank you 😄😄
Wonderfull explain in kubernetes Please make upcoming videos on EKS
Glad you liked it 🙌
amazing content .
Thank you 😄😄
Answers:
1. Service Mesh
2. Kubeproxy
3. Kubeproxy
4. Using VPNs
5. Localhost
Answer 4) If two Pods are in different clusters, on different nodes, and in different namespaces, direct communication between them becomes significantly more complex. Here are some approaches you could consider: A)Cross-Cluster Networking: B)Federated Services C)External Access D)Message Brokers or Event Streaming Platforms: E)API Gateway or Proxy: F)Third-Party Networking Solutions:
the way you explain superb❤❤ waiting for next session
Thanks a lot 😊
Honestly bhai you started very well with each topic but in b/w while explaining you goes into another topic and that chain reaction continued and we lost the details for the main topic..this is my personal review..else the topic would have been much more clearly explained.
ThankYou for this series. 🙂🙂
one request:- Can you please share these slides or notes with us (if possible)
Adding in the description
hi Prerit, your explanation on admission controller and webhook is understood but while going through the documentation I saw the admission controllers are called as webhooks. I want to understand why webhooks are necessary and how the admission controllers and webhooks are linked as per the diagram. My question might seem a bit confusing but am confused as well how this should come in place in my head :( . May be a better explanation might help.
Thank you so much bhiya ❤🥰
kindly share the best books for kubernetes so we can learn in more depth
mai experience maar ke jaa raha hoo..please real time mai scenario discuss karna..realtime project,realtime troubleshooting and all..thank u
brother
fault tolerance & connection between high availability iska connection smja nhi....
Will create a Dedicated video…
can u explain cgroups and namespace more in future videos, i just understood they are used to isolate the containers during production.
Sure thing…
What happens in the binding cycle .?
Can you please Share your hand written notes it will help alot because i am not able to makes notes 📝
One question- Can scheduler and control-manager directly talk to kubelet of worker node? if not how they know how much resource available on worker nodes, how control-manager knows resired and current state details?
Yes they communicate directly with the kubelet for the resource information
Sir when day 3 session will upload!!!!!
Every Saturday & Sunday Live
@techwithprerit
bhaiya etcd me raft consenus, leader ke nodes kaha se ate hai
means apne paas ek VM uske andar ek hi control plane hai toh yeh doubt sahi hai ....?
Vo etcd internally karta hai, aapko kuch nhi karna!
Sir overall content is high quality. Question session ma apny kaha koi b Jenkins Use nhi kr rha. Phr sir kia use ho rha ha industry ma? kindly as a fresher kafi questions aaty ha.
Thanks man, GitLab, GitHub Actions…
Hello prerit.. Is there any videos where you explain runc, containerd-shim in docker?
I will create this one in English…thanks for the input :)
prerit bahi ap notes likhne ke liye konsa device use karte ho
It’s freeform
just try increasing your volume everything else is fine.
Done from video 4
@@TechWithPrerit 😊
Sir Apne technical suneja channels par kaha tha Pele linux phir network os phir cloud phir kubernetes sukho..Apne start hi kubernetes se Kiya non tech etne adwance topic ko kaise sikhega
Bilkul basics se padhaya hai, Day 1 dekho usme Linux bhi hai...
Can you create video on red hat open shift docker & kub and argo cd and jenkins, pls confirmed!!!!
Done!!
1) Local-host
2) DNS
3) KUbeproxy
4) Service mesh
5) Local host
how to get the notes / pdf of this lectures?
Added in the description
Thanks 🎉
Sorry to say bhaiya but the audio in your videos is worst. Its so low I am not able to hear you on speaker full sound, also when I wear my headphones i need to increase volume to almost full to be able to hear you clearly, still then also your voice is high on earphone of one side and low at other. Please improve your audio quality or speak a little loud. Otherwise before i complete learning kubernetes my ears will damage🥲🥲!!
Thanks for the feedback man. Have bought a new mic, don’t want any harm to your ears 😆😆 Day 4 se badiya awaz hai
@@TechWithPrerit Thank you bhaiya
Thank you for the session prerit, learnt a lot
1) communication between pods in the same namespace - service mesh
2) communication between pods in the same node but different namespace - kubeproxy
3) communication between different containers in the same namespace - localhost
4) communication in different nodes - kubeproxy
5) communication between different clusters - VPN or some other networking solution like peering