Day-3 | Node Selector, Node Affinity, Taints and Tolerations | Kubernetes Zero to Hero
Abhishek.Veeramalla
View ChannelAbout
Hi Everyone, My name is Abhishek and welcome to my channel :) I am an opensource enthusiast and a great believer in sharing knowledge. I have my footprints in popular opensource projects like Argo CD, Argo CD Operator, Argo Rollouts Manager, GitOps Operator, F5 Ingress Controller, Nginx Ingress Controller by Nginx and others. Apart from working with Red Hat as a GitOps product lead, I also hold below positions in OpenSource communities - Maintainer of Argo CD Operator - Creator of Argo Rollouts Manager - Maintainer of RedHat Developer (GitOps operator) - Member of Argo Project - Member of Argo SIG Security If you want to learn complete devops for free with practical projects, checkout the playlist https://www.youtube.com/playlist?list=PLdpzxOOAlwvIKMhk8WhzN1pYoJ1YU8Csa Please subscribe to the channel to keep learning and growing together. Thanks :) For collaborations & paid promotions email me at : [email protected]
Latest Posts
Video Description
Join our 24*7 Doubts clearing group (Discord Server) www.youtube.com/abhishekveeramalla/join Udemy Course (End to End DevOps Project) https://www.udemy.com/course/ultimate-devops-project-with-resume-preparation/?referralCode=9F588E43854814744430 --- --- Support my work https://www.buymeacoffee.com/abhishekprd In Kubernetes, the scheduler is responsible for assigning pods to nodes in the cluster based on various criteria. Sometimes, you might encounter situations where pods are not being scheduled as expected. This can happen due to factors such as node constraints, pod requirements, or cluster configurations. 1. Node Selector Node Selector is a simple way to constrain pods to nodes with specific labels. It allows you to specify a set of key-value pairs that must match the node's labels for a pod to be scheduled on that node. Usage: Include a nodeSelector field in the pod's YAML definition to specify the required labels. 2. Node Affinity Node Affinity is a more expressive way to specify rules about the placement of pods relative to nodes' labels. It allows you to specify rules that apply only if certain conditions are met. Usage: Define nodeAffinity rules in the pod's YAML definition, specifying required and preferred node selectors. 3. Taints Taints are applied to nodes to repel certain pods. They allow nodes to refuse pods unless the pods have a matching toleration. Usage: Use kubectl taint command to apply taints to nodes. Include tolerations field in the pod's YAML definition to tolerate specific taints. 4. Tolerations Tolerations are applied to pods and allow them to schedule onto nodes with matching taints. They override the effect of taints. Usage: Include tolerations field in the pod's YAML definition to specify which taints the pod tolerates. GitHub Repo https://github.com/iam-veeramalla/kubernetes-troubleshooting-zero-to-hero/ Here are some more very useful Zero to Hero playlists on the channel. - Free DevOps Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvIKMhk8WhzN1pYoJ1YU8Csa - AWS Zero to Hero Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvLNOxX0RfndiYSt1Le9azze - Terraform Zero to Hero Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvI0O4PeKVV1-yJoX2AqIWuf - Python for DevOps Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvKwTyYNJCUwGPvql0TrsPgv Have any questions while learning ? Don't worry, Join our Doubts Clearing Group. Join our Doubts Clearing Group https://www.youtube.com/@AbhishekVeeramalla/join About me: ======== Instagram: https://www.instagram.com/abhishekveeramalla_official/ Telegram Channel : https://t.me/abhishekveeramalla LinkedIn: https://www.linkedin.com/in/abhishek-veeramalla GitHub: https://github.com/iam-veeramalla Medium: https://abhishekveeramalla-av.medium.com/ . . Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.
Kubernetes Mastery Kit
AI-recommended products based on this video

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men




