<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>存储 on Zayn's Blog</title><link>https://blog.treesir.pub/categories/%E5%AD%98%E5%82%A8/</link><description>Recent content in 存储 on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Tue, 19 Jan 2021 14:54:30 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/categories/%E5%AD%98%E5%82%A8/index.xml" rel="self" type="application/rss+xml"/><item><title>在 Kubernetes 中部署 NFS 动态存储类完整指南</title><link>https://blog.treesir.pub/posts/k8s-nfs-strage-class/</link><pubDate>Tue, 19 Jan 2021 14:54:30 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/k8s-nfs-strage-class/</guid><description>&lt;p>在 Kubernetes 集群中，持久化存储是有状态应用的重要基础设施。NFS（Network File System）作为一种成熟的网络文件系统，可以为 Kubernetes 提供简单可靠的共享存储解决方案。本文将详细介绍如何部署 NFS StorageClass 实现动态存储供应。&lt;/p>
&lt;h2 class="relative group">什么是 StorageClass
&lt;div id="什么是-storageclass" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e4%bb%80%e4%b9%88%e6%98%af-storageclass" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>StorageClass 是 Kubernetes 中的一种资源对象，用于描述存储的&amp;quot;类别&amp;quot;。它的主要作用包括：&lt;/p>
&lt;ul>
&lt;li>&lt;strong>动态供应&lt;/strong>: 自动创建 PersistentVolume（PV）&lt;/li>
&lt;li>&lt;strong>存储抽象&lt;/strong>: 为不同类型的存储提供统一接口&lt;/li>
&lt;li>&lt;strong>参数化配置&lt;/strong>: 支持不同的存储参数和策略&lt;/li>
&lt;li>&lt;strong>自动化管理&lt;/strong>: 减少手动创建 PV 的工作量&lt;/li>
&lt;/ul>
&lt;h2 class="relative group">方案架构
&lt;div id="方案架构" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e6%96%b9%e6%a1%88%e6%9e%b6%e6%9e%84" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>本方案采用以下架构：&lt;/p></description></item></channel></rss>