Deploying an application with resource limits to Kubernetes on AWS EKS
In Kubernetes, we can set resource limits on an application in order to prevent it from consuming all the available CPU and memory resources in the cluster. This is desirable to protect the system from resource exhaustion, and to ensure that an application that has a memory leak or a bug that causes it to consume more CPU than expected does not bring down the entire cluster.
To demonstrate setting resource limits, we are going to deploy the ShipIt Clicker Docker container and Helm charts we deployed to our local Kubernetes installation in the Deploying a sample application section earlier in this chapter to the EKS cluster.
To demonstrate setting resource limits, we will now look at deploying the ShipIt Clicker application to Kubernetes, managed by the AWS EKS service, with CPU and memory limits enabled. We will also expose this application to the world using an Ingress Controller.
Configuring resource...