- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

Move Kubernetes Pods to a Secured Runtime Sandbox
Runtime sandboxes are a powerful tool for secure container isolation in Kubernetes. In this lab, you will work to implement a runtime sandbox and run containers within it.

Lab Info
Table of Contents
-
Challenge
Install gVisor and Create a containerd Sandbox Configuration
Install gVisor on both the control plane node and the worker node.
Create a containerd runtime configuration called
runsc
on both servers as well. -
Challenge
Create a RuntimeClass for the Sandbox
Create a RuntimeClass called
runsc-sandbox
. Configure it to use therunsc
containerd configuration. -
Challenge
Move All Pods in the questionablesoft Namespace to the New Runtime Sandbox
Move all Pods in the
questionablesoft
namespace to the new runtime sandbox. You will need to delete and re-create the Pods to accomplish this. For convenience, you can find manifest files for these Pods in/home/cloud_user
.Note: If you wish to compare the sandboxed Pods to a non-sandboxed Pod, there is a non-sandboxed Pod called
securicorp-api
in thedefault
namespace.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.