- Lab
- A Cloud Guru
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.
Path 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.
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.