4 Deploying applications in Kubernetes

 

This chapter covers

  • Scheduling Pods to nodes
  • Creating multiple containers within a Pod
  • Using the Helm templating engine
  • Requesting and limiting the resources a Pod can take
  • Passing configuration data to Pods

In this chapter, we’ll shift our focus to the workloads and scheduling part of the exam objectives and focus on the many different aspects of scheduling and their intricacies. You will realize that one size doesn’t fit all, which creates freedom to run an application in the environment that’s best for containerized applications. This includes the ability to reserve resources from the underlying infrastructure as well as decouple components such as configuration information and sensitive data within.

4.1 Scheduling applications

4.1.1 Node selectors

4.1.2 Node and Pod affinity

4.2 Using Helm

4.3 Pod metadata

4.3.1 Resource requests and limits

4.3.2 Multicontainer Pods

4.3.3 ConfigMaps and Secrets

Summary