日常更新

This commit is contained in:
2026-03-29 09:08:01 +08:00
parent 31709425e2
commit befdefd222
224 changed files with 7240 additions and 3297 deletions

View File

@@ -0,0 +1,27 @@
# docs/03-06-k3s-使用nfs存储.md — 自动化验收用:挂载 nfs-pvc-demo 并写文件OC3 证据)
# 与 nfs-pv-pvc-demo.yaml 配合;手动学习 PV/PVC 时可不应用本文件。
apiVersion: batch/v1
kind: Job
metadata:
name: nfs-pvc-verify-demo
namespace: default
spec:
backoffLimit: 3
template:
spec:
restartPolicy: Never
containers:
- name: verify-write
image: busybox:1.36
command:
- /bin/sh
- -c
- echo "ok-$(date +%s)" > /data/.verify-nfs && sync && test -f /data/.verify-nfs
volumeMounts:
- name: data
mountPath: /data
readOnly: false
volumes:
- name: data
persistentVolumeClaim:
claimName: nfs-pvc-demo