---
title: "Discussion on \"Kubernetes 中 HostPath 的风险和防范\" | Hashnode"
description: "Discussion on \"Kubernetes 中 HostPath 的风险和防范\". Kubernetes 的安全问题，被提及比较多的一般包括几个点：\n\nDocker & Kubernetes 参数加固\nRBAC\nRoot 镜像\n特权容器\n\n众所周知，很多安全问题是爆发在内部的，因此有了零信任的说法。内网能够比较容易地接触在成功接触集群之后，仅仅通过对 HostPath 的使用，就有机会对集群和运行其上的工作负载进行窥探，甚至进行写入操作。\n下面会分为三个部分，分别介绍可能接触集群的方法，入侵危害、以及建议的防范手段。\n接触集群\n要入侵一个集群，通常需要用某种方式和集群进行接触，..."
url: "https://hashnode.com/posts/kubernetes-zhong-hostpath-de-feng-xian-he-fang-fan/68104d37c4317bd32f5a85dc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Kubernetes 中 HostPath 的风险和防范](https://blog.fleeto.us/kubernetes-zhong-hostpath-de-feng-xian-he-fang-fan?utm_source=hashnode&utm_medium=feed)

Kubernetes 的安全问题，被提及比较多的一般包括几个点： Docker & Kubernetes 参数加固 RBAC Root 镜像 特权容器 众所周知，很多安全问题是爆发在内部的，因此有了零信任的说法。内网能够比较容易地接触在成功接触集群之后，仅仅通过对 HostPath 的使用，就有机会对集群和运行其上的工作负载进行窥探，甚至进行写入操作。 下面会分为三个部分，分别介绍可能接触集群的方法，入侵危害、以及建议的防范手段。 接触集群 要入侵一个集群，通常需要用某种方式和集群进行接触，...

Jun 2, 2020 · 1 min read · blog.fleeto.us  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#security](https://hashnode.com/tag/security)

## Written by

[崔秀龙](https://hashnode.com/@dustise)

@dustise · China

  
[View profile](https://hashnode.com/@dustise)

Cloud Native, Automation, Architect

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
