[office website] https://kubernetes.io/docs/concepts/storage/persistent-volumes/
[nfs install and how to deploy] https://blog.youkuaiyun.com/cuipengchong/article/details/71650011
https://blog.youkuaiyun.com/shenhonglei1234/article/details/80827570
[concept chinese translate well ] https://blog.youkuaiyun.com/hxpjava1/article/details/79711167
[a good demo to test pv pvc ] https://www.cnblogs.com/ericnie/p/7733281.html
nfs share store path
cat /etc/exports
/data/www-data 10.0.2.0/24(rw,sync)
/data/www-data dir store index.html , contents like below
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<title>Spring Security入门</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h1>欢迎使用Spring Security!</h1>
<p>点击 <a th:href="#">这里</a> 打个招呼吧</p>
</body>
</html>
yaml deploy file refer the second hyperlink! dashboard like below:
pod :

Service

the browser show like below:

本文详细介绍了如何在Kubernetes中配置和使用NFS作为持久卷(PV)的存储后端,包括NFS服务器的安装部署、客户端配置以及PV、PVC的创建流程。通过实践案例展示了NFS在Kubernetes集群中的应用,适合Kubernetes管理员和DevOps工程师阅读。
1万+

被折叠的 条评论
为什么被折叠?



