title
Kubernetes Tutorial | Learn Kubernetes from Scratch in 30 Minutes | Kubernetes Training | Edureka

description
🔥 Edureka Kubernetes Certification Training: https://www.edureka.co/kubernetes-certification This Edureka video on "Kubernetes Tutorial" will help you understand Kubernetes which is a container orchestration tool. Also, it will guide you how to deploy your application using Kubernetes and Minikube. The following topics are covered in this Kubernetes Tutorial for Beginners: 1. Challenges without Container Orchestration 2. Docker vs Kubernetes 3. What is Kubernetes 4. Kubernetes Features 5. Kubernetes Architecture 6. Hands-on: Deployment with Kubernetes DevOps Tutorial Blog Series: https://goo.gl/P0zAfF Subscribe to our channel to get video updates. Hit the subscribe button above. #Edureka #KubernetesEdureka #KubernetesTutorial #Kubernetes #DevOps #KubernetesTraining #DevOpsTraining - - - - - - - - - - - - - - How it Works? 1. This is a 5 Week Instructor led Online Course. 2. Course consists of 30 hours of online classes, 20 hours of assignment, 20 hours of project 3. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course. 4. You will get Lifetime Access to the recordings in the LMS. 5. At the end of the training you will have to complete the project based on which we will provide you a Verifiable Certificate! - - - - - - - - - - - - - - About the Course Edureka's Kubernetes Certification Training introduces you with the advantages provided by containers over the virtual machines. You will understand why we need an orchestration tool for containers. You will also get to know the boundaries of Kubernetes – what it does and what is it not supposed to do. You will also understand the inherent architecture of Kubernetes – master components, node components and the addons provided by it. The course will start off with learning the basic components of Kubernetes like Node, Pod, Deployment, Services, APIs etc and then teach you to create a local cluster using Ubuntu VMs. You will also learn to deploy stateful and stateless apps on the cluster. Finally, you will learn, how to expose these app outside of the kubernetes cluster and will also get to know how to scale their apps either manually or using auto scaling. Learn the best security practices that must be followed during this container and cluster orchestration. - - - - - - - - - - - - - - Who should go for this course? There is a huge shift in Devops from virtualization to containerization. Docker has been the buzzword in the technology sphere, in the recent past to ship applications as containers. A research states that there are already 10,000 companies who have adopted containers for taking their application to production and there are already 185 million containers on use in the world. The rate of adoption of Docker is increasing by 40% every year. Now that Docker has become the most integral part of production environment, various organizations are now looking out for tools that can help them effectively manage and orchestrate their containers. Here is when industries started adopting a Google open sourced tool called Kubernetes for effectively managing the containers. - - - - - - - - - - - - - - Customer Reviews: Ankur Kashyap, DevOps, Build & Release says: “I was enrolled into Devops training from Edureka On a professionalism, they provide a great presentation on the topic that helps to understand the indepth of Devops technology. Good knowledgeable staff, provide recorded sessions with life time warranty. Also technical team is really helpful if you stuck in some demo sessions. Keep it up !! ” - - - - - - - - - - - - - - Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For more information, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll-free). Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka Instagram: https://www.instagram.com/edureka_learning/

detail
{'title': 'Kubernetes Tutorial | Learn Kubernetes from Scratch in 30 Minutes | Kubernetes Training | Edureka', 'heatmap': [{'end': 932.384, 'start': 770.101, 'weight': 0.858}, {'end': 1052.807, 'start': 1016.504, 'weight': 0.85}], 'summary': 'This tutorial covers deploying wordpress and mysql using kubernetes, comparing kubernetes and docker swarm, and discussing kubernetes components and features, highlighting benefits such as automatic rollback, easy storage mounting, and cluster setup on ubuntu with minikube.', 'chapters': [{'end': 249.556, 'segs': [{'end': 39.543, 'src': 'embed', 'start': 7.83, 'weight': 1, 'content': [{'end': 9.831, 'text': 'When you switch to Linux containers,', 'start': 7.83, 'duration': 2.001}, {'end': 15.373, 'text': 'you might have problems like how to run containers in productions or some problems regarding the development side right?', 'start': 9.831, 'duration': 5.542}, {'end': 23.297, 'text': 'So for that, you need something more than well-prepared docker files to move to the production, and that is the container orchestration system.', 'start': 15.854, 'duration': 7.443}, {'end': 24.938, 'text': 'So hello everyone.', 'start': 23.977, 'duration': 0.961}, {'end': 30.48, 'text': 'This is Sahithi on behalf of edureka and I welcome you to this session on Kubernetes tutorial.', 'start': 24.958, 'duration': 5.522}, {'end': 33.842, 'text': "So thank you all the attendees for joining in today's session.", 'start': 31.021, 'duration': 2.821}, {'end': 39.543, 'text': "Before we get started, all of you just give me a quick confirmation on the chat window whether I'm audible or not.", 'start': 34.463, 'duration': 5.08}], 'summary': 'Switching to linux containers may lead to production and development challenges, addressed through container orchestration like kubernetes.', 'duration': 31.713, 'max_score': 7.83, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE7830.jpg'}, {'end': 81.798, 'src': 'embed', 'start': 44.605, 'weight': 0, 'content': [{'end': 48.686, 'text': "So now without wasting any further time, let's look into the topics for today's session.", 'start': 44.605, 'duration': 4.081}, {'end': 53.407, 'text': "So we'll start today's session by understanding the challenges without container orchestration.", 'start': 49.126, 'duration': 4.281}, {'end': 57.528, 'text': "Then I'll tell you why did we actually need container orchestration.", 'start': 53.827, 'duration': 3.701}, {'end': 64.41, 'text': "After that, I'll tell you the differences between Docker Swarm and Kubernetes and then introduce to what is Kubernetes.", 'start': 58.028, 'duration': 6.382}, {'end': 66.931, 'text': 'Once you understand what is Kubernetes.', 'start': 65.05, 'duration': 1.881}, {'end': 72.874, 'text': "I'll tell you the features of Kubernetes and then I'll mainly focus on the architecture of Kubernetes,", 'start': 67.071, 'duration': 5.803}, {'end': 78.677, 'text': "in which we'll talk about various components of its architecture, like the master node, worker node and many others.", 'start': 72.874, 'duration': 5.803}, {'end': 81.798, 'text': "and then, finally, I'll end the session with the hands-on part,", 'start': 78.677, 'duration': 3.121}], 'summary': 'Session covers challenges without orchestration, need for orchestration, differences between docker swarm and kubernetes, and features and architecture of kubernetes.', 'duration': 37.193, 'max_score': 44.605, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE44605.jpg'}, {'end': 163.975, 'src': 'embed', 'start': 139.011, 'weight': 3, 'content': [{'end': 146.916, 'text': 'So basically they isolate the applications from the host mainly and this makes the container fast reliable efficient lightweight and scalable.', 'start': 139.011, 'duration': 7.905}, {'end': 152.061, 'text': 'Now as I was telling the containers are scalable, but there are few problems to deal with that.', 'start': 147.496, 'duration': 4.565}, {'end': 158.188, 'text': 'So just take a look at a container now, you might want to probably scale it up to two containers or three containers.', 'start': 152.482, 'duration': 5.706}, {'end': 163.975, 'text': 'Well, you just want to scale it up to a definite number, right? But this is going to take a lot of manual effort.', 'start': 158.489, 'duration': 5.486}], 'summary': 'Containers isolate applications, making them fast, reliable, efficient, lightweight, and scalable. however, manual effort is required for scaling.', 'duration': 24.964, 'max_score': 139.011, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE139011.jpg'}, {'end': 234.103, 'src': 'embed', 'start': 192.06, 'weight': 4, 'content': [{'end': 196.862, 'text': 'So containerization was basically a concept which was sold on the basis of scaling up.', 'start': 192.06, 'duration': 4.802}, {'end': 201.844, 'text': 'So, as it is a known fact that the virtual machines cannot be scaled up easily,', 'start': 197.402, 'duration': 4.442}, {'end': 210.688, 'text': "and containerization was a concept that was sold on the basis of scaling up, but in today's world the demand is even more than the regular containers.", 'start': 201.844, 'duration': 8.844}, {'end': 212.029, 'text': "That's because they're not enough.", 'start': 210.728, 'duration': 1.301}, {'end': 214.337, 'text': 'So to scale up these containers.', 'start': 212.697, 'duration': 1.64}, {'end': 219.939, 'text': "we need something else to manage the containers so that you know you don't have to worry about keeping the track of them,", 'start': 214.337, 'duration': 5.602}, {'end': 223.72, 'text': "or you know to check whether they're active or not or to perform any such actions.", 'start': 219.939, 'duration': 3.781}, {'end': 228.481, 'text': 'So without container orchestration it increases the human cost of running services.', 'start': 224.2, 'duration': 4.281}, {'end': 234.103, 'text': 'It also increases the size of bills from the public cloud providers and that is about the cost efficiency.', 'start': 229.001, 'duration': 5.102}], 'summary': 'Containerization solves scaling issues, but orchestration is needed for managing and cost efficiency.', 'duration': 42.043, 'max_score': 192.06, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE192060.jpg'}], 'start': 7.83, 'title': 'Kubernetes and container orchestration impact', 'summary': 'Introduces kubernetes, discusses deploying wordpress and mysql with persistent volumes using mini cube, and emphasizes the impact of container orchestration on managing and automating container operations, addressing challenges, and reducing human cost, cloud bills, and service complexity.', 'chapters': [{'end': 81.798, 'start': 7.83, 'title': 'Introduction to kubernetes', 'summary': 'Introduces the need for container orchestration, discusses the challenges without container orchestration, explains the differences between docker swarm and kubernetes, and delves into the features and architecture of kubernetes.', 'duration': 73.968, 'highlights': ['Kubernetes tutorial session covering challenges without container orchestration, need for container orchestration, differences between Docker Swarm and Kubernetes, features of Kubernetes, and its architecture.', 'The importance of container orchestration system for moving to production and addressing development problems is emphasized.', 'Discussion on the architecture of Kubernetes, covering components like master node, worker node, and others, provides a comprehensive understanding of the system.', "Quick confirmation on attendees' audibility using the chat window sets the interactive tone for the session."]}, {'end': 158.188, 'start': 81.798, 'title': 'Deploying wordpress and mysql with persistent volumes', 'summary': 'Discusses deploying wordpress and mysql applications with persistent volumes using mini cube on ubuntu, highlighting the need for container orchestration and the benefits and challenges of container scaling and management.', 'duration': 76.39, 'highlights': ['Containers isolate applications from the host, making them fast, reliable, efficient, lightweight, and scalable.', 'The chapter highlights the need for container orchestration by discussing the system challenges without it, emphasizing the complexities of managing multiple services running inside containers.', 'The speaker introduces the concept of scaling containers and the associated problems, indicating the need for solutions in managing container complexities.']}, {'end': 249.556, 'start': 158.489, 'title': 'Container orchestration impact', 'summary': 'Discusses the challenges of manually scaling up containers, the need for container orchestration to manage and automate container operations, and the negative impacts of not using container orchestration, such as increased human cost, cloud bills, and complexity of running services.', 'duration': 91.067, 'highlights': ['Container orchestration reduces human cost and complexity by automating the management of containers, addressing the challenge of manually scaling up around 50 to 100 containers.', "The concept of containerization was sold based on scaling up, but in today's world, there is a demand for even more containers, necessitating the need for container orchestration to manage and scale containers efficiently.", 'Without container orchestration, there is an increase in human cost of running services, an increase in the size of bills from public cloud providers, and an increase in the complexity of running new services in production.']}], 'duration': 241.726, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE7830.jpg', 'highlights': ['Kubernetes tutorial session covering challenges without container orchestration, need for container orchestration, differences between Docker Swarm and Kubernetes, features of Kubernetes, and its architecture.', 'The importance of container orchestration system for moving to production and addressing development problems is emphasized.', 'Discussion on the architecture of Kubernetes, covering components like master node, worker node, and others, provides a comprehensive understanding of the system.', 'Containers isolate applications from the host, making them fast, reliable, efficient, lightweight, and scalable.', 'Container orchestration reduces human cost and complexity by automating the management of containers, addressing the challenge of manually scaling up around 50 to 100 containers.', "The concept of containerization was sold based on scaling up, but in today's world, there is a demand for even more containers, necessitating the need for container orchestration to manage and scale containers efficiently."]}, {'end': 426.203, 'segs': [{'end': 426.203, 'src': 'embed', 'start': 349.247, 'weight': 0, 'content': [{'end': 352.629, 'text': 'Now, when you talk about auto scaling Kubernetes wins the game.', 'start': 349.247, 'duration': 3.382}, {'end': 358.592, 'text': "clearly that's because Kubernetes are intelligent enough to analyze your server load and, based on that,", 'start': 352.629, 'duration': 5.963}, {'end': 360.933, 'text': 'they can scale up or scale down based on the requirements.', 'start': 358.592, 'duration': 2.341}, {'end': 367.237, 'text': "So there's no need for manual intervention because the traffic Catastrophe can be now completely avoided.", 'start': 361.354, 'duration': 5.883}, {'end': 372.805, 'text': 'But when it comes to the case of talk a swarm talk a swarm is not confident defender here.', 'start': 367.817, 'duration': 4.988}, {'end': 381.057, 'text': "That's because when the traffic portion it crumbles with no help available and because of which the manual intervention is definite over there.", 'start': 373.005, 'duration': 8.052}, {'end': 387.818, 'text': 'So, in simple terms, if you want your application to be auto scale, then Kubernetes is a better platform.', 'start': 381.736, 'duration': 6.082}, {'end': 391.239, 'text': 'now, when it comes to the load balancing, Kubernetes is beaten here.', 'start': 387.818, 'duration': 3.421}, {'end': 397.561, 'text': "That's because at times, you need to manually configure your load balancing settings in Kubernetes.", 'start': 391.699, 'duration': 5.862}, {'end': 402.923, 'text': 'now, multiple containers can be served as one pod and each service can be defined as a group of pods.', 'start': 397.561, 'duration': 5.362}, {'end': 406.795, 'text': 'but load balancing is very simple with this form.', 'start': 403.934, 'duration': 2.861}, {'end': 409.656, 'text': "That's because form does Auto load balancing.", 'start': 407.255, 'duration': 2.401}, {'end': 416.339, 'text': 'Now there is no concept of forge, and hence all the containers discover each other with the network IP address,', 'start': 410.177, 'duration': 6.162}, {'end': 420.201, 'text': 'which happens automatically as long as the nodes are connected to the cluster.', 'start': 416.339, 'duration': 3.862}, {'end': 426.203, 'text': 'So you just have to make sure that the nodes are connected to the cluster and talk a swarm makes it easy for load balancing.', 'start': 420.601, 'duration': 5.602}], 'summary': 'Kubernetes excels in auto scaling, while docker swarm offers easy load balancing.', 'duration': 76.956, 'max_score': 349.247, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE349247.jpg'}], 'start': 249.996, 'title': 'Kubernetes vs docker swarm', 'summary': 'Compares the performance and usability of kubernetes and docker swarm, highlighting that kubernetes excels in auto-scaling while docker swarm is superior in load balancing.', 'chapters': [{'end': 426.203, 'start': 249.996, 'title': 'Kubernetes vs docker swarm', 'summary': 'Compares the performance and usability of kubernetes and docker swarm in orchestrating containers, highlighting that kubernetes excels in auto-scaling while docker swarm is superior in load balancing.', 'duration': 176.207, 'highlights': ['Kubernetes excels in auto-scaling by analyzing server load and scaling up or down based on requirements, eliminating the need for manual intervention.', 'Docker Swarm is not confident in auto-scaling and requires manual intervention when traffic surges, making Kubernetes a better platform for auto-scaling.', 'Kubernetes is beaten in load balancing as it requires manual configuration, whereas Docker Swarm simplifies load balancing with auto load balancing and automatic container discovery with network IP addresses.']}], 'duration': 176.207, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE249996.jpg', 'highlights': ['Kubernetes excels in auto-scaling by analyzing server load and scaling up or down based on requirements, eliminating the need for manual intervention.', 'Docker Swarm simplifies load balancing with auto load balancing and automatic container discovery with network IP addresses.', 'Docker Swarm is not confident in auto-scaling and requires manual intervention when traffic surges, making Kubernetes a better platform for auto-scaling.', 'Kubernetes is beaten in load balancing as it requires manual configuration, whereas Docker Swarm simplifies load balancing with auto load balancing and automatic container discovery with network IP addresses.']}, {'end': 670.085, 'segs': [{'end': 454.725, 'src': 'embed', 'start': 426.989, 'weight': 4, 'content': [{'end': 431.491, 'text': 'Now coming to the rolling updates and rollbacks, Kubernetes wins the game here again.', 'start': 426.989, 'duration': 4.502}, {'end': 437.254, 'text': 'In fact, both Kubernetes and Swarm clusters support the concept of rolling updates to the containers.', 'start': 431.971, 'duration': 5.283}, {'end': 442.976, 'text': 'Kubernetes perform rolling updates to pods as a whole while Swarm does it to the containers straightway.', 'start': 437.814, 'duration': 5.162}, {'end': 450.4, 'text': 'Rolling updates is the process of progressively and gradually deploying the updates to the existing applications in all the containers.', 'start': 443.837, 'duration': 6.563}, {'end': 454.725, 'text': 'but swarm is beaten here because it does not automatically roll back.', 'start': 450.962, 'duration': 3.763}], 'summary': 'Kubernetes excels in rolling updates, with support for whole pods, while swarm only does it for containers.', 'duration': 27.736, 'max_score': 426.989, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE426989.jpg'}, {'end': 501.703, 'src': 'embed', 'start': 462.81, 'weight': 0, 'content': [{'end': 470.215, 'text': "but only one thing over here is that the Kubernetes does auto rollback in the case of failure conditions which swarm doesn't.", 'start': 462.81, 'duration': 7.405}, {'end': 476.859, 'text': 'the master of the cluster closely monitors the updates and deployments and make sure that the option of rollback is enabled.', 'start': 470.215, 'duration': 6.644}, {'end': 478.352, 'text': 'Right now.', 'start': 477.532, 'duration': 0.82}, {'end': 480.994, 'text': 'coming to the next difference, that is, data volumes.', 'start': 478.352, 'duration': 2.642}, {'end': 486.096, 'text': 'kubernetes allows us to share storage volumes between the multiple containers inside the same pod.', 'start': 480.994, 'duration': 5.102}, {'end': 491.578, 'text': 'However, docker swarm allows to use the share storage volumes with any other container,', 'start': 486.576, 'duration': 5.002}, {'end': 499.422, 'text': 'but the advantage of kubernetes is that the storage can be easily mounted on a local storage or either on a public clouds like AWS,', 'start': 491.578, 'duration': 7.844}, {'end': 501.703, 'text': 'GCP or even on the shared networks like NFS.', 'start': 499.422, 'duration': 2.281}], 'summary': 'Kubernetes auto rolls back on failure, allows shared storage volumes, and easy mounting on local or public clouds.', 'duration': 38.893, 'max_score': 462.81, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE462810.jpg'}, {'end': 594.752, 'src': 'embed', 'start': 558.828, 'weight': 5, 'content': [{'end': 562.51, 'text': 'not only this, but Kubernetes also offers the option of rolling updates,', 'start': 558.828, 'duration': 3.682}, {'end': 566.933, 'text': 'sharing storage volumes and also providing the inbuilt tools for logging and monitoring.', 'start': 562.51, 'duration': 4.423}, {'end': 570.775, 'text': 'So all your tasks can be performed with ease and in a simple manner.', 'start': 567.413, 'duration': 3.362}, {'end': 576.081, 'text': 'So now that you have understood why do we need Kubernetes You might have a question.', 'start': 571.316, 'duration': 4.765}, {'end': 579.042, 'text': "What exactly is kubernetes that I'm talking about, right?", 'start': 576.261, 'duration': 2.781}, {'end': 585.666, 'text': 'So, as I mentioned before, kubernetes is an open source container orchestration platform for automating deployment,', 'start': 579.423, 'duration': 6.243}, {'end': 588.428, 'text': 'scaling and management of containerized applications.', 'start': 585.666, 'duration': 2.762}, {'end': 594.752, 'text': 'It basically groups the containers that make up an application into simple logical units for management and discovery.', 'start': 588.928, 'duration': 5.824}], 'summary': 'Kubernetes automates deployment, scaling, and management of containerized applications, grouping containers for easy management.', 'duration': 35.924, 'max_score': 558.828, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE558828.jpg'}, {'end': 658.501, 'src': 'embed', 'start': 632.981, 'weight': 2, 'content': [{'end': 640.405, 'text': "you know it's just the open platform that is there for container orchestration and gives you all the advantages to be used right now,", 'start': 632.981, 'duration': 7.424}, {'end': 641.946, 'text': 'as I was talking about Kubernetes.', 'start': 640.405, 'duration': 1.541}, {'end': 644.248, 'text': 'Let me tell you various features of Kubernetes.', 'start': 642.026, 'duration': 2.222}, {'end': 652.399, 'text': 'So Kubernetes automatically places the containers based on the resource requirements and other constraints while not sacrificing the availability.', 'start': 645.097, 'duration': 7.302}, {'end': 658.501, 'text': 'So it mixes the critical and best effort workloads in order to drive up utilization and save even more resources.', 'start': 652.819, 'duration': 5.682}], 'summary': 'Kubernetes orchestrates containers, optimizing resource utilization and availability.', 'duration': 25.52, 'max_score': 632.981, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE632981.jpg'}], 'start': 426.989, 'title': 'Kubernetes vs. docker swarm: features and performance', 'summary': "Compares kubernetes and docker swarm in terms of rolling updates and data volumes, emphasizing kubernetes' advantage in automatic rollback, and easy storage mounting on various platforms. it also provides an overview of kubernetes, highlighting features like auto-scaling, logging, and resource optimization, showcasing its flexibility and advantages over docker swarm.", 'chapters': [{'end': 501.703, 'start': 426.989, 'title': 'Kubernetes vs. docker swarm: rolling updates and data volumes', 'summary': "Compares kubernetes and docker swarm in terms of rolling updates, where kubernetes outperforms swarm by providing automatic rollback in case of failure, and data volumes, highlighting kubernetes' advantage of easily mounting storage on various platforms like local, public clouds, and shared networks.", 'duration': 74.714, 'highlights': ['Kubernetes provides automatic rollback in case of failure conditions, ensuring a more reliable deployment process compared to Swarm.', 'Kubernetes allows easy mounting of storage volumes on various platforms such as local storage, public clouds like AWS and GCP, and shared networks like NFS, offering a versatile and flexible storage solution.', 'Both Kubernetes and Swarm support rolling updates to containers, but Kubernetes performs rolling updates to pods as a whole, providing a more comprehensive approach to deploying updates.', 'Swarm lacks the automatic rollback feature, making it less reliable in handling deployment failures compared to Kubernetes.', 'Docker Swarm allows sharing storage volumes with any other container, providing flexibility in storage management within the cluster.']}, {'end': 670.085, 'start': 502.814, 'title': 'Kubernetes: overview and features', 'summary': 'Provides an overview of kubernetes, highlighting its key features such as auto-scaling, rolling updates, logging, monitoring, and resource optimization, emphasizing its advantages over docker swarm and its flexibility for various infrastructure setups and workload needs.', 'duration': 167.271, 'highlights': ['Kubernetes offers auto scaling of containers based on traffic needs. Kubernetes provides auto scaling of containers, ensuring efficient resource utilization based on traffic demands.', 'Kubernetes offers the option of rolling updates, sharing storage volumes, and inbuilt tools for logging and monitoring. In addition to rolling updates and sharing storage volumes, Kubernetes provides inbuilt tools for logging and monitoring, enhancing operational ease and efficiency.', 'Kubernetes is an open source container orchestration platform for automating deployment, scaling, and management of containerized applications. Kubernetes is an open source platform designed to automate deployment, scaling, and management of containerized applications, offering flexibility and consistency in application delivery.', 'Kubernetes automatically places containers based on resource requirements and other constraints, optimizing resource utilization. Kubernetes utilizes automated scheduling to optimize resource usage by placing containers based on resource needs and constraints, driving up utilization and saving resources.', 'Kubernetes provides an open platform for container orchestration, offering flexibility across on-premises, hybrid, or public cloud infrastructures. Kubernetes offers an open platform for container orchestration, allowing seamless workload movement across various infrastructure setups, including on-premises, hybrid, or public cloud environments.']}], 'duration': 243.096, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE426989.jpg', 'highlights': ['Kubernetes provides automatic rollback in case of failure conditions, ensuring a more reliable deployment process compared to Swarm.', 'Kubernetes allows easy mounting of storage volumes on various platforms such as local storage, public clouds like AWS and GCP, and shared networks like NFS, offering a versatile and flexible storage solution.', 'Kubernetes offers auto scaling of containers based on traffic needs, ensuring efficient resource utilization based on traffic demands.', 'Kubernetes automatically places containers based on resource requirements and other constraints, optimizing resource utilization.', 'Both Kubernetes and Swarm support rolling updates to containers, but Kubernetes performs rolling updates to pods as a whole, providing a more comprehensive approach to deploying updates.', 'Kubernetes offers the option of rolling updates, sharing storage volumes, and inbuilt tools for logging and monitoring, enhancing operational ease and efficiency.', 'Kubernetes is an open source container orchestration platform for automating deployment, scaling, and management of containerized applications, offering flexibility and consistency in application delivery.', 'Kubernetes provides an open platform for container orchestration, offering flexibility across on-premises, hybrid, or public cloud infrastructures.', 'Swarm lacks the automatic rollback feature, making it less reliable in handling deployment failures compared to Kubernetes.', 'Docker Swarm allows sharing storage volumes with any other container, providing flexibility in storage management within the cluster.']}, {'end': 1081.903, 'segs': [{'end': 939.587, 'src': 'heatmap', 'start': 763.396, 'weight': 0, 'content': [{'end': 770.101, 'text': 'by which I mean that Kubernetes supports the rollouts and rollbacks for the desired state of containerized applications,', 'start': 763.396, 'duration': 6.705}, {'end': 777.826, 'text': 'and it also provides the horizontal scaling and load balances so that you can scale up and scale down based on your requirements of the application right?', 'start': 770.101, 'duration': 7.725}, {'end': 781.109, 'text': 'So, guys, these were the features of Kubernetes.', 'start': 778.207, 'duration': 2.902}, {'end': 782.389, 'text': 'now moving on with the session.', 'start': 781.109, 'duration': 1.28}, {'end': 785.852, 'text': 'Let me tell you what are the components of Kubernetes architecture.', 'start': 782.73, 'duration': 3.122}, {'end': 791.014, 'text': 'So guys as you can see on the screen, these are the different components of Kubernetes architecture.', 'start': 786.411, 'duration': 4.603}, {'end': 799.54, 'text': 'Now, cube CTL is basically the command line proxy through which you can access all your cluster services and the worker nodes from which we have the master node,', 'start': 791.514, 'duration': 8.026}, {'end': 807.245, 'text': 'and the master node has an API server controller manager scheduler, which also have the ATCD connected now to a single master node.', 'start': 799.54, 'duration': 7.705}, {'end': 812.328, 'text': 'We have various worker nodes having a cubelet process running with cube proxy and n number of pods.', 'start': 807.325, 'duration': 5.003}, {'end': 820.119, 'text': 'Now pod is the basic unit of a kubernetes architecture, but let me tell you one thing that a pod can have n number of container images.', 'start': 813.217, 'duration': 6.902}, {'end': 823.879, 'text': "So this is how the kubernetes architecture looks like don't worry.", 'start': 820.539, 'duration': 3.34}, {'end': 826.28, 'text': "I'll be discussing about each one of these components.", 'start': 823.979, 'duration': 2.301}, {'end': 830.061, 'text': 'But yes, if you want a detailed explanation about all these components,', 'start': 826.56, 'duration': 3.501}, {'end': 834.582, 'text': "then you can refer to the video of kubernetes architecture that I'll mention in the description box.", 'start': 830.061, 'duration': 4.521}, {'end': 835.322, 'text': 'All right.', 'start': 835.042, 'duration': 0.28}, {'end': 839.843, 'text': "So let's start with the first component of kubernetes architecture that is masternode.", 'start': 835.662, 'duration': 4.181}, {'end': 846.688, 'text': 'So the master node is the entry point for all the administrative tasks which are responsible for managing the Kubernetes cluster.', 'start': 840.363, 'duration': 6.325}, {'end': 851.531, 'text': 'They can be more than one master node in the cluster to check for the fault tolerance.', 'start': 847.248, 'duration': 4.283}, {'end': 858.937, 'text': 'more than one master node puts the system in a high availability mode, in which one of them will be the main node, which will perform all the tasks,', 'start': 851.531, 'duration': 7.406}, {'end': 860.678, 'text': 'and other will act as worker nodes.', 'start': 858.937, 'duration': 1.741}, {'end': 867.143, 'text': 'So, for managing the cluster state, it uses the etcd in which all the master nodes are connected to it right?', 'start': 861.018, 'duration': 6.125}, {'end': 873.483, 'text': 'Now, moving on as I was telling you, the master node has the API servers, controller managers, schedulers.', 'start': 867.978, 'duration': 5.505}, {'end': 877.025, 'text': 'Let me tell you what exactly the API servers and etcd do.', 'start': 873.823, 'duration': 3.202}, {'end': 882.55, 'text': 'Well, the API server is the entry point for all the rest commands used to control the cluster.', 'start': 877.586, 'duration': 4.964}, {'end': 888.695, 'text': 'So basically you can say that all the administrative tasks are performed via the API server within the master node.', 'start': 882.95, 'duration': 5.745}, {'end': 894.82, 'text': 'So a user sends the rest commands to the API server which then validates and processes the request.', 'start': 889.495, 'duration': 5.325}, {'end': 903.344, 'text': 'So after executing the request the resulting state of the cluster is stored in the distributed key value store now coming to the working of etcd.', 'start': 895.422, 'duration': 7.922}, {'end': 912.626, 'text': 'So etcd is a distributed key value store which stores the cluster state so it can be part of the Kubernetes master or it can be configured externally.', 'start': 903.964, 'duration': 8.662}, {'end': 918.468, 'text': 'etcd is basically written in the go programming language and in Kubernetes, besides storing the cluster state.', 'start': 912.626, 'duration': 5.842}, {'end': 924.049, 'text': 'It is also used to store the configuration details such as the subnets config map secrets and many more.', 'start': 918.728, 'duration': 5.321}, {'end': 928.863, 'text': 'Now moving on to the scheduler and the controller manager components of the master node.', 'start': 924.941, 'duration': 3.922}, {'end': 932.384, 'text': 'Let me tell you that the scheduler should use the task to the slave nodes.', 'start': 929.203, 'duration': 3.181}, {'end': 939.587, 'text': 'So it stores the resources usage information for each slave node and then it schedules to work in form of pods and services.', 'start': 932.764, 'duration': 6.823}], 'summary': 'Kubernetes supports rollouts, rollbacks, scaling, and components like master node, api server, etcd, scheduler, and controller manager.', 'duration': 176.191, 'max_score': 763.396, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE763396.jpg'}, {'end': 867.143, 'src': 'embed', 'start': 840.363, 'weight': 1, 'content': [{'end': 846.688, 'text': 'So the master node is the entry point for all the administrative tasks which are responsible for managing the Kubernetes cluster.', 'start': 840.363, 'duration': 6.325}, {'end': 851.531, 'text': 'They can be more than one master node in the cluster to check for the fault tolerance.', 'start': 847.248, 'duration': 4.283}, {'end': 858.937, 'text': 'more than one master node puts the system in a high availability mode, in which one of them will be the main node, which will perform all the tasks,', 'start': 851.531, 'duration': 7.406}, {'end': 860.678, 'text': 'and other will act as worker nodes.', 'start': 858.937, 'duration': 1.741}, {'end': 867.143, 'text': 'So, for managing the cluster state, it uses the etcd in which all the master nodes are connected to it right?', 'start': 861.018, 'duration': 6.125}], 'summary': 'Master nodes manage kubernetes cluster, ensuring fault tolerance and high availability using etcd for cluster state.', 'duration': 26.78, 'max_score': 840.363, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE840363.jpg'}, {'end': 912.626, 'src': 'embed', 'start': 877.586, 'weight': 2, 'content': [{'end': 882.55, 'text': 'Well, the API server is the entry point for all the rest commands used to control the cluster.', 'start': 877.586, 'duration': 4.964}, {'end': 888.695, 'text': 'So basically you can say that all the administrative tasks are performed via the API server within the master node.', 'start': 882.95, 'duration': 5.745}, {'end': 894.82, 'text': 'So a user sends the rest commands to the API server which then validates and processes the request.', 'start': 889.495, 'duration': 5.325}, {'end': 903.344, 'text': 'So after executing the request the resulting state of the cluster is stored in the distributed key value store now coming to the working of etcd.', 'start': 895.422, 'duration': 7.922}, {'end': 912.626, 'text': 'So etcd is a distributed key value store which stores the cluster state so it can be part of the Kubernetes master or it can be configured externally.', 'start': 903.964, 'duration': 8.662}], 'summary': 'Api server controls cluster tasks, etcd stores cluster state.', 'duration': 35.04, 'max_score': 877.586, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE877586.jpg'}, {'end': 971.761, 'src': 'embed', 'start': 932.764, 'weight': 4, 'content': [{'end': 939.587, 'text': 'So it stores the resources usage information for each slave node and then it schedules to work in form of pods and services.', 'start': 932.764, 'duration': 6.823}, {'end': 945.929, 'text': 'So, before scheduling the task, the scheduler also takes into account the quality of service requirements, data, locality,', 'start': 940.067, 'duration': 5.862}, {'end': 949.831, 'text': 'affinity and anti-affinity coming to the controller managers.', 'start': 945.929, 'duration': 3.902}, {'end': 952.532, 'text': 'controller managers are also known as the controllers.', 'start': 949.831, 'duration': 2.701}, {'end': 958.877, 'text': 'So it is a demon which regulates the Kubernetes cluster which manages the different non-terminating control loops.', 'start': 953.115, 'duration': 5.762}, {'end': 964.278, 'text': 'So it also performs lifestyle functions such as namespace creation and life cycle.', 'start': 959.297, 'duration': 4.981}, {'end': 971.761, 'text': 'event garbage collections terminated pod garbage collection, cascading deleted garbage collections, node garbage collections and many more.', 'start': 964.278, 'duration': 7.483}], 'summary': 'Kubernetes scheduler manages resource usage and quality of service, while controller managers regulate cluster functions and perform garbage collections.', 'duration': 38.997, 'max_score': 932.764, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE932764.jpg'}, {'end': 1052.807, 'src': 'heatmap', 'start': 1016.504, 'weight': 0.85, 'content': [{'end': 1023.787, 'text': 'which is basically the worker or the slave node pods are scheduled and then for accessing these applications from the external world,', 'start': 1016.504, 'duration': 7.283}, {'end': 1024.788, 'text': 'we connect to the nodes.', 'start': 1023.787, 'duration': 1.001}, {'end': 1027.95, 'text': "So now let's see what are the components of the worker node.", 'start': 1025.308, 'duration': 2.642}, {'end': 1034.272, 'text': 'So as you can see there are mainly two components of the worker node that is the cubelet processes and the cube proxy.', 'start': 1028.329, 'duration': 5.943}, {'end': 1040.377, 'text': 'Now cubelet is an agent which communicates with the master node and executes on the nodes or the worker nodes.', 'start': 1034.833, 'duration': 5.544}, {'end': 1050.666, 'text': 'It gets the pod specifications to the API server and executes the containers associated with the pod and ensures that the container described in the pods are running and healthy.', 'start': 1040.917, 'duration': 9.749}, {'end': 1052.807, 'text': 'now when it comes to the cube proxy,', 'start': 1050.666, 'duration': 2.141}], 'summary': 'Worker nodes consist of cubelet processes and cube proxy, ensuring container health.', 'duration': 36.303, 'max_score': 1016.504, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1016504.jpg'}, {'end': 1052.807, 'src': 'embed', 'start': 1025.308, 'weight': 6, 'content': [{'end': 1027.95, 'text': "So now let's see what are the components of the worker node.", 'start': 1025.308, 'duration': 2.642}, {'end': 1034.272, 'text': 'So as you can see there are mainly two components of the worker node that is the cubelet processes and the cube proxy.', 'start': 1028.329, 'duration': 5.943}, {'end': 1040.377, 'text': 'Now cubelet is an agent which communicates with the master node and executes on the nodes or the worker nodes.', 'start': 1034.833, 'duration': 5.544}, {'end': 1050.666, 'text': 'It gets the pod specifications to the API server and executes the containers associated with the pod and ensures that the container described in the pods are running and healthy.', 'start': 1040.917, 'duration': 9.749}, {'end': 1052.807, 'text': 'now when it comes to the cube proxy,', 'start': 1050.666, 'duration': 2.141}], 'summary': 'Worker node has two main components: cubelet processes and cube proxy.', 'duration': 27.499, 'max_score': 1025.308, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1025308.jpg'}, {'end': 1085.306, 'src': 'embed', 'start': 1060.706, 'weight': 7, 'content': [{'end': 1068.713, 'text': 'So it serves as a network proxy and a load balancer for a service on a single worker node and manages the network routing for TCP and UDP packets.', 'start': 1060.706, 'duration': 8.007}, {'end': 1076.399, 'text': 'It is the network proxy which runs on each worker node and listens to the API server for each service endpoint creation or deletion.', 'start': 1069.333, 'duration': 7.066}, {'end': 1081.903, 'text': 'So for each service endpoint queue proxy sets up the route so that you can reach to it.', 'start': 1077.319, 'duration': 4.584}, {'end': 1085.306, 'text': 'So guys that was about the components of the worker nodes.', 'start': 1082.363, 'duration': 2.943}], 'summary': 'Proxy and load balancer manage network routing for tcp and udp packets on worker nodes.', 'duration': 24.6, 'max_score': 1060.706, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1060706.jpg'}], 'start': 670.777, 'title': 'Kubernetes components and working', 'summary': 'Discusses the features of kubernetes, including automated scheduling, self-healing capabilities, automated rollouts and rollbacks, horizontal scaling, and load balancing. it also provides an overview of the components of kubernetes architecture, highlighting the master node, api server, and etcd. additionally, it explains the working of etcd as a distributed key value store in kubernetes and details the components of a kubernetes worker node, highlighting the cubelet processes and cube proxy.', 'chapters': [{'end': 894.82, 'start': 670.777, 'title': 'Kubernetes features and components', 'summary': 'Discusses the features of kubernetes, including automated scheduling, self-healing capabilities, automated rollouts and rollbacks, horizontal scaling, and load balancing. it also provides an overview of the components of kubernetes architecture, highlighting the master node, api server, and etcd.', 'duration': 224.043, 'highlights': ['Kubernetes provides automated scheduling, self-healing capabilities, automated rollouts and rollbacks, horizontal scaling, and load balancing for containerized applications.', 'The master node in Kubernetes is responsible for managing the cluster and can have multiple nodes for fault tolerance and high availability.', 'The API server in the master node acts as the entry point for all administrative tasks and rest commands used to control the cluster.']}, {'end': 989.237, 'start': 895.422, 'title': 'Working of etcd and kubernetes master components', 'summary': 'Explains the working of etcd as a distributed key value store in kubernetes, along with the functions of scheduler and controller manager components in managing the cluster, including details such as resource usage, scheduling tasks, and controller lifecycle functions.', 'duration': 93.815, 'highlights': ['etcd is a distributed key value store written in Go and is used in Kubernetes to store cluster state, configuration details, subnets, and secrets. etcd, written in Go, is utilized in Kubernetes to store cluster state and configuration details such as subnets, config maps, and secrets, along with other relevant information.', 'The scheduler allocates tasks to slave nodes based on resource usage information and considers quality of service requirements, data locality, affinity, and anti-affinity before scheduling. The scheduler allocates tasks to slave nodes by considering resource usage, quality of service requirements, data locality, affinity, and anti-affinity, ensuring efficient task allocation.', 'Controller managers, also known as controllers, regulate the Kubernetes cluster and manage different non-terminating control loops, performing various lifecycle functions such as namespace creation, event garbage collection, and node garbage collection. Controller managers oversee the Kubernetes cluster, manage non-terminating control loops, and perform lifecycle functions including namespace creation, event garbage collection, and node garbage collection, ensuring smooth cluster management.']}, {'end': 1081.903, 'start': 989.921, 'title': 'Kubernetes worker node components', 'summary': 'Explains the components of a kubernetes worker node, highlighting the cubelet processes and cube proxy as the main components responsible for executing and managing containers, ensuring healthy pods, and handling network routing for services.', 'duration': 91.982, 'highlights': ['The cubelet is an agent that communicates with the master node, executes containers associated with the pod, and ensures the containers described in the pods are running and healthy, serving as a key component of the worker node.', 'The cube proxy runs on each node to manage network routing for TCP and UDP packets, serving as a network proxy and load balancer for services on a single worker node, and listens to the API server for each service endpoint creation or deletion.']}], 'duration': 411.126, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE670777.jpg', 'highlights': ['Kubernetes provides automated scheduling, self-healing capabilities, automated rollouts and rollbacks, horizontal scaling, and load balancing for containerized applications.', 'The master node in Kubernetes is responsible for managing the cluster and can have multiple nodes for fault tolerance and high availability.', 'The API server in the master node acts as the entry point for all administrative tasks and rest commands used to control the cluster.', 'etcd is a distributed key value store utilized in Kubernetes to store cluster state, configuration details, subnets, config maps, and secrets.', 'The scheduler allocates tasks to slave nodes by considering resource usage, quality of service requirements, data locality, affinity, and anti-affinity, ensuring efficient task allocation.', 'Controller managers oversee the Kubernetes cluster, manage non-terminating control loops, and perform lifecycle functions including namespace creation, event garbage collection, and node garbage collection, ensuring smooth cluster management.', 'The cubelet is an agent that communicates with the master node, executes containers associated with the pod, and ensures the containers described in the pods are running and healthy, serving as a key component of the worker node.', 'The cube proxy runs on each node to manage network routing for TCP and UDP packets, serving as a network proxy and load balancer for services on a single worker node, and listens to the API server for each service endpoint creation or deletion.']}, {'end': 1522.387, 'segs': [{'end': 1155.13, 'src': 'embed', 'start': 1121.637, 'weight': 2, 'content': [{'end': 1127.022, 'text': 'So a persistent volume chain is a request for storage by a user that can be fulfilled by the persistent volume.', 'start': 1121.637, 'duration': 5.385}, {'end': 1135.121, 'text': 'Now let me tell you that the persistent volumes and persistent volume chains are independent from the pod life cycles and preserve data through restarting,', 'start': 1127.697, 'duration': 7.424}, {'end': 1137.722, 'text': 'rescheduling and even deleting the pods right?', 'start': 1135.121, 'duration': 2.601}, {'end': 1141.944, 'text': "So now let me tell you the steps that we're going to do to deploy these applications.", 'start': 1138.242, 'duration': 3.702}, {'end': 1148.227, 'text': "So we're going to first create the persistent volume chains and persistent volumes, then we're going to create secrets,", 'start': 1142.444, 'duration': 5.783}, {'end': 1153.829, 'text': "then we're going to deploy the MySQL application and similarly we're going to deploy the wordpress application and then finally,", 'start': 1148.227, 'duration': 5.602}, {'end': 1155.13, 'text': 'will perform the cleanup action.', 'start': 1153.829, 'duration': 1.301}], 'summary': 'Persistent volumes and chains are independent from pod life cycles, and we will deploy mysql and wordpress applications before performing a cleanup action.', 'duration': 33.493, 'max_score': 1121.637, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1121637.jpg'}, {'end': 1253.364, 'src': 'embed', 'start': 1207.284, 'weight': 0, 'content': [{'end': 1212.849, 'text': "And then press on why now once you're done with this again mention the command to initialize the cluster.", 'start': 1207.284, 'duration': 5.565}, {'end': 1217.272, 'text': "So this will basically initialize your kubernetes cluster on the master's machine.", 'start': 1213.649, 'duration': 3.623}, {'end': 1220.955, 'text': 'Now, you can see that our cluster has been initialized.', 'start': 1218.493, 'duration': 2.462}, {'end': 1224.983, 'text': 'So now to deploy the application.', 'start': 1223.402, 'duration': 1.581}, {'end': 1226.223, 'text': "I'll be using the mini cube.", 'start': 1225.063, 'duration': 1.16}, {'end': 1228.624, 'text': 'So let me deploy mini cube first.', 'start': 1226.684, 'duration': 1.94}, {'end': 1232.266, 'text': "So to deploy mini cube, you'll type in the command mini cube start.", 'start': 1229.345, 'duration': 2.921}, {'end': 1236.908, 'text': 'So now as you can see that our mini cube is starting.', 'start': 1234.507, 'duration': 2.401}, {'end': 1242.271, 'text': 'Let me discuss the first step that was creating persistent volume chains and persistent volumes.', 'start': 1237.509, 'duration': 4.762}, {'end': 1250.062, 'text': "So the mysql in the wordpress applications each require a persistent volume to store the data's,", 'start': 1244.679, 'duration': 5.383}, {'end': 1253.364, 'text': 'so their persistent volume chains will be created at the deployment step.', 'start': 1250.062, 'duration': 3.302}], 'summary': 'Initializing kubernetes cluster, deploying mini cube, creating persistent volume chains and volumes.', 'duration': 46.08, 'max_score': 1207.284, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1207284.jpg'}, {'end': 1349.877, 'src': 'embed', 'start': 1325.098, 'weight': 3, 'content': [{'end': 1330.343, 'text': "So to deploy a MySQL container you would need a yaml file and I've already created my yaml file.", 'start': 1325.098, 'duration': 5.245}, {'end': 1334.246, 'text': "So I'm going to use the same yaml file to deploy the MySQL container.", 'start': 1330.783, 'duration': 3.463}, {'end': 1341.953, 'text': "So to deploy this container, you'll use the command cube CTL create hyphen F and then you'll mention the directory where that file is present.", 'start': 1334.626, 'duration': 7.327}, {'end': 1349.877, 'text': "So now that I've deployed by MySQL deployment file, let me show you what are the configurations that I've mentioned inside my YAML file.", 'start': 1343.061, 'duration': 6.816}], 'summary': "To deploy a mysql container, use a yaml file and 'kubectl create -f' command.", 'duration': 24.779, 'max_score': 1325.098, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1325098.jpg'}], 'start': 1082.363, 'title': 'Kubernetes deployment and cluster setup', 'summary': 'Covers deploying wordpress and mysql applications with persistent volumes using minikube on ubuntu, emphasizing the importance and functionality of persistent volumes and persistent volume claims in kubernetes. it also includes initializing a kubernetes cluster, deploying a mini cube, creating secrets for mysql password, deploying mysql and wordpress containers, and verifying persistent volume provisioning and pod status.', 'chapters': [{'end': 1155.13, 'start': 1082.363, 'title': 'Kubernetes deployment with persistent volumes', 'summary': 'Covers the deployment of wordpress and mysql applications with persistent volumes using minikube on ubuntu, emphasizing the importance and functionality of persistent volumes and persistent volume claims in kubernetes.', 'duration': 72.767, 'highlights': ['The deployment of WordPress and MySQL applications with persistent volumes using minikube on Ubuntu is explained, focusing on the significance of persistent volumes and persistent volume claims in Kubernetes.', 'Persistent volumes are manually or dynamically provisioned storage spaces in the cluster that are independent from the pod life cycles and preserve data through restarting, rescheduling, and deleting the pods.', 'The process of deploying the applications involves creating persistent volume claims and persistent volumes, creating secrets, deploying the MySQL application, deploying the WordPress application, and performing cleanup actions.']}, {'end': 1522.387, 'start': 1156.798, 'title': 'Setting up kubernetes cluster and deploying applications', 'summary': 'Covers initializing a kubernetes cluster, deploying a mini cube, creating secrets for mysql password, deploying mysql and wordpress containers, and verifying persistent volume provisioning and pod status.', 'duration': 365.589, 'highlights': ["Initializing Kubernetes cluster on master machine node The first step involves initializing the Kubernetes cluster on the master machine by mentioning the IP address and resetting it using 'cube ADM reset' command.", 'Deploying mini cube and creating secret for MySQL password The deployment of mini cube and creation of a secret object for the MySQL password are essential steps, with the secret object storing sensitive data and the mini cube being a prerequisite for deploying applications.', 'Deploying MySQL container and verifying persistent volume provisioning The deployment of the MySQL container involves creating a YAML file, initializing the container, and verifying the dynamic provisioning of persistent volumes, which is crucial for data storage.', 'Deploying WordPress service and deployment Similar to deploying the MySQL container, deploying the WordPress service and deployment involves creating a YAML file, configuring the service and persistent volume chain, and verifying dynamic volume provisioning.']}], 'duration': 440.024, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1082363.jpg', 'highlights': ['Covers deploying wordpress and mysql applications with persistent volumes using minikube on Ubuntu, emphasizing the importance of persistent volumes and persistent volume claims in Kubernetes.', 'Initializing Kubernetes cluster on master machine node and deploying mini cube are essential steps for deploying applications.', 'Persistent volumes are manually or dynamically provisioned storage spaces in the cluster that preserve data through restarting, rescheduling, and deleting the pods.', 'Deploying MySQL container involves creating a YAML file, initializing the container, and verifying the dynamic provisioning of persistent volumes, crucial for data storage.', 'Deploying WordPress service and deployment involves creating a YAML file, configuring the service and persistent volume chain, and verifying dynamic volume provisioning.']}, {'end': 1722.923, 'segs': [{'end': 1605.233, 'src': 'embed', 'start': 1540.689, 'weight': 0, 'content': [{'end': 1547.532, 'text': 'So you can see that you know our service WordPress is definitely fine with the type to be load balancer and is allotted with a cluster IP.', 'start': 1540.689, 'duration': 6.843}, {'end': 1552.566, 'text': 'Right now you can see on the screen that you know, the external IP is still pending.', 'start': 1548.183, 'duration': 4.383}, {'end': 1561.112, 'text': "That's because when a cube can only expose services to the node port and external IP is always pending because it's not notepad that we are using.", 'start': 1552.706, 'duration': 8.406}, {'end': 1566.535, 'text': 'So now after this step, what you have to do is you have to get the IP address for the WordPress service.', 'start': 1561.572, 'duration': 4.963}, {'end': 1572.48, 'text': 'So for that type in the command mini cube service WordPress space hyphen hyphen URL.', 'start': 1566.976, 'duration': 5.504}, {'end': 1576.898, 'text': 'So the response will give you an IP address for the WordPress service.', 'start': 1573.797, 'duration': 3.101}, {'end': 1578.979, 'text': 'So let me copy the IP address.', 'start': 1577.379, 'duration': 1.6}, {'end': 1581.48, 'text': "Let's go to the web browser and view the site.", 'start': 1579.3, 'duration': 2.18}, {'end': 1583.021, 'text': 'So let me paste it over here.', 'start': 1581.821, 'duration': 1.2}, {'end': 1586.703, 'text': 'So, as you can see on the screen, the WordPress has been deployed.', 'start': 1583.381, 'duration': 3.322}, {'end': 1593.706, 'text': 'now. if you click on the continue button, you can see the welcome page of WordPress, where you can provide the information needed, such as the site title.', 'start': 1586.703, 'duration': 7.003}, {'end': 1596.647, 'text': "So let's say I type in edureka demo.", 'start': 1594.286, 'duration': 2.361}, {'end': 1605.233, 'text': "Let's say I type in the username to be edureka123 password password to be as it is and let's say I mentioned an email ID.", 'start': 1596.947, 'duration': 8.286}], 'summary': 'Wordpress service deployed with an ip address, accessible on web browser, allowing user input.', 'duration': 64.544, 'max_score': 1540.689, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1540689.jpg'}, {'end': 1651.231, 'src': 'embed', 'start': 1627.876, 'weight': 3, 'content': [{'end': 1635.88, 'text': 'Now if you want to delete your secret, you have to type in the command cubectl delete secret mysql hyphen pass.', 'start': 1627.876, 'duration': 8.004}, {'end': 1640.443, 'text': "So that's the name of the secret that we created, right? So that is mysql hyphen pass over here.", 'start': 1636.081, 'duration': 4.362}, {'end': 1644.49, 'text': 'Now once you enter this command, you can see that your secret has been deleted.', 'start': 1641.189, 'duration': 3.301}, {'end': 1648.071, 'text': 'Now, if you want to delete all the deployments and services.', 'start': 1645.03, 'duration': 3.041}, {'end': 1651.231, 'text': 'also, you have to type in the command cube CTL.', 'start': 1648.071, 'duration': 3.16}], 'summary': "To delete the secret 'mysql-pass', use 'cubectl delete secret mysql-pass'. also, use 'cube ctl' to delete all deployments and services.", 'duration': 23.355, 'max_score': 1627.876, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1627876.jpg'}, {'end': 1707.906, 'src': 'embed', 'start': 1665.988, 'weight': 4, 'content': [{'end': 1673.571, 'text': 'In the similar way, you can delete your services by typing the command cube CTL delete service hyphen L app equal to WordPress.', 'start': 1665.988, 'duration': 7.583}, {'end': 1675.292, 'text': "That is the name of the service that I've given.", 'start': 1673.591, 'duration': 1.701}, {'end': 1679.374, 'text': 'So when you type in this command, you can see that you know, your service has also been deleted.', 'start': 1675.832, 'duration': 3.542}, {'end': 1685.657, 'text': 'Now, if you want to delete your persistent volume claim, you just again have to type in the command cube CTL.', 'start': 1679.994, 'duration': 5.663}, {'end': 1690.539, 'text': 'delete PVC hyphen L app equal to WordPress, right?', 'start': 1685.657, 'duration': 4.882}, {'end': 1696.294, 'text': "So, guys, that's how you can delete your secrets, deployment Services and persistent volume claims.", 'start': 1691.149, 'duration': 5.145}, {'end': 1700.938, 'text': "So guys that was a short demo on Kubernetes and that's all for today's session.", 'start': 1696.874, 'duration': 4.064}, {'end': 1703.18, 'text': 'I hope you found this session informative.', 'start': 1701.399, 'duration': 1.781}, {'end': 1704.982, 'text': 'Thank you and have a great day.', 'start': 1703.601, 'duration': 1.381}, {'end': 1707.906, 'text': 'I hope you have enjoyed listening to this video.', 'start': 1705.763, 'duration': 2.143}], 'summary': 'Demo on deleting kubernetes services, persistent volume claims, and more.', 'duration': 41.918, 'max_score': 1665.988, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1665988.jpg'}], 'start': 1522.767, 'title': 'Deploying and deleting resources with kubernetes', 'summary': "Covers deploying wordpress with kubernetes, ensuring successful provisioning, service status, and site access, resulting in a successful deployment. it also details deleting secrets, deployments, and services in kubernetes, including specific commands like 'cubectl delete secret' to delete the 'mysql-pass' secret.", 'chapters': [{'end': 1627.169, 'start': 1522.767, 'title': 'Deploying wordpress with kubernetes', 'summary': 'Demonstrates the deployment of wordpress using kubernetes, including checking successful provisioning, service status, and accessing the site, resulting in a successful deployment of wordpress with a username and password.', 'duration': 104.402, 'highlights': ['The WordPress service is successfully provisioned with a load balancer type and a cluster IP, and the external IP is pending due to the usage of node port instead of a notepad.', 'Accessing the WordPress service using the obtained IP address leads to the successful deployment of WordPress, enabling the setup of a username and password for the site.', 'Demonstrating the installation process of WordPress, which includes providing site title, username, password, and email, resulting in a successful deployment of WordPress with the specified credentials.']}, {'end': 1722.923, 'start': 1627.876, 'title': 'Deleting resources in kubernetes', 'summary': "Demonstrates the process of deleting secrets, deployments, and services in kubernetes, including the commands to delete specific resources, such as the 'cubectl delete secret' command to delete the 'mysql-pass' secret.", 'duration': 95.047, 'highlights': ["The command 'cubectl delete secret' is used to delete a specific secret, such as 'mysql-pass', in Kubernetes, resulting in the deletion of the secret (cubectl delete secret mysql-hyphen-pass).", "The process of deleting deployments and services in Kubernetes is illustrated through commands like 'cubectl delete deployment' and 'cubectl delete service', showcasing the deletion of specific resources like the 'app=WordPress' deployment and service.", "The demonstration also includes the deletion of persistent volume claims (PVC) in Kubernetes, with the command 'cubectl delete PVC', emphasizing the removal of specific resources like 'app=WordPress'."]}], 'duration': 200.156, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Mn6Jc0AOUTE/pics/Mn6Jc0AOUTE1522767.jpg', 'highlights': ['Accessing the WordPress service using the obtained IP address leads to the successful deployment of WordPress, enabling the setup of a username and password for the site.', 'The WordPress service is successfully provisioned with a load balancer type and a cluster IP, and the external IP is pending due to the usage of node port instead of a notepad.', 'Demonstrating the installation process of WordPress, which includes providing site title, username, password, and email, resulting in a successful deployment of WordPress with the specified credentials.', "The command 'cubectl delete secret' is used to delete a specific secret, such as 'mysql-pass', in Kubernetes, resulting in the deletion of the secret (cubectl delete secret mysql-hyphen-pass).", "The process of deleting deployments and services in Kubernetes is illustrated through commands like 'cubectl delete deployment' and 'cubectl delete service', showcasing the deletion of specific resources like the 'app=WordPress' deployment and service.", "The demonstration also includes the deletion of persistent volume claims (PVC) in Kubernetes, with the command 'cubectl delete PVC', emphasizing the removal of specific resources like 'app=WordPress'."]}], 'highlights': ['Kubernetes excels in auto-scaling by analyzing server load and scaling up or down based on requirements, eliminating the need for manual intervention.', 'Kubernetes provides automatic rollback in case of failure conditions, ensuring a more reliable deployment process compared to Swarm.', 'Kubernetes allows easy mounting of storage volumes on various platforms such as local storage, public clouds like AWS and GCP, and shared networks like NFS, offering a versatile and flexible storage solution.', 'Kubernetes offers auto scaling of containers based on traffic needs, ensuring efficient resource utilization based on traffic demands.', 'Kubernetes automatically places containers based on resource requirements and other constraints, optimizing resource utilization.', 'Kubernetes provides an open platform for container orchestration, offering flexibility across on-premises, hybrid, or public cloud infrastructures.', 'Kubernetes provides automated scheduling, self-healing capabilities, automated rollouts and rollbacks, horizontal scaling, and load balancing for containerized applications.', 'Covers deploying wordpress and mysql applications with persistent volumes using minikube on Ubuntu, emphasizing the importance of persistent volumes and persistent volume claims in Kubernetes.', 'The master node in Kubernetes is responsible for managing the cluster and can have multiple nodes for fault tolerance and high availability.', 'The importance of container orchestration system for moving to production and addressing development problems is emphasized.']}