# 概述

参考文档:Kubernetes 文档 Configure a Security Context for a Pod or Container (opens new window)

Security Context(安全上下文)用来限制容器对宿主节点的可访问范围,以避免容器非法操作宿主节点的系统级别的内容,使得节点的系统或者节点上其他容器组受到影响。

Security Context可以按照如下几种方式设定:

如需要了解更多关于 Linux 安全机制方面的信息,请参考 Overview Of Linux Kernel Security Features (opens new window)

本文从以下几个方面介绍如何在 Kubernetes 中配置 Security Context

详细信息请点击对应链接。

更新时间: 2020-12-24 13:57:19