Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Managing Resource Usage in Kubernetes

Kubernetes offers a variety of features that can help you control how resources are allocated in your cluster. This lab will allow you to build your experience with some of these features by solving problems that might arise in a real-world cluster.

Google Cloud Platform icon

Path Info

Clock icon Intermediate
Clock icon 30m
Clock icon Feb 25, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Configure Resource Requests for a Deployment

    There is a Deployment called royal-jelly in the hive Namespace.

    Add resource requests to this Deployment's containers. The container should request 128Mi memory and 250m CPU.

  2. Challenge

    Configure Resource Limits for a Deployment

    Add resource limits to the Deployment called royal-jelly in the hive Namespace.

    For the containers in this Deployment, the limits should be 256Mi for memory and 500m for CPU.

  3. Challenge

    Create a ResourceQuota for a Namespace

    Use a quota to limit the resources that can be used in the hive Namespace.

    The quota should allow total resource requests in the Namespace up to 1Gi for memory and 1 CPU.

    For resource limits, the quota should allow up to 2Gi for memory and 2 CPU.

    Note: The ResourceQuota admission controller is already enabled in the environment. You do not need to enable it.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans