- 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.
Table of Contents
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
runscon both servers as well.
Create a RuntimeClass for the Sandbox
Create a RuntimeClass called
runsc-sandbox. Configure it to use the
Move All Pods in the questionablesoft Namespace to the New Runtime Sandbox
Move all Pods in the
questionablesoftnamespace 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
Note: If you wish to compare the sandboxed Pods to a non-sandboxed Pod, there is a non-sandboxed Pod called
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.