Lesson 15 | clock icon 21:35

Kubernetes Node Selector and Node Affinity

In this chapter, we looked into what are NodeSelector and NodeAffinity constructs in terms of Kubernetes. We actually looked into how we can use combination of Taints and Toleration and nodeSelector or NodeAffinity to make sure only a set of pods will be scheduled on a specific node. We looked into the nodeAffinity types (requiredDuringSchedulingIgnoredDuringExecution, preferredDuringSchedulingIgnoredDuringExecution) in details and matchExpression operators as well.

Basics of Kubernetes

Basics of Kubernetes


Vivek Singh

Vivek Singh

Vivek is a software developer who started his professional career in 2015 with Java and related technologies. Initially, he spent his time writing Java-based enterprise-level web applications and running serverless workloads of Kubernetes. But nowadays he is more focused on application-centric data management for all your cloud-native applications.

Have feedback about this course or lesson? We want to hear it! Send your thoughts to mentoring@infracloud.io.

left img right img

We're Hiring!

Your chance to work along with brightest minds on cutting edge technologies & solid culture.

This website uses cookies to offer you a better browsing experience