�ㄥ�彭�浠�缁�k8s��涔���海洋��ㄥ��锛���浠���蹇�瑕�河渠�瑙d�涓�k8s��emptydir��hostpath��configmap浠ュ��secret���哄�跺���ㄩ��

1��Emptydir
EmptyDir��涓�涓�绌虹��褰�锛�浠������藉�ㄦ������灞��� Pod ��疏浚��ㄤ��寸��锛�pod������褰�娑�澶�

2��Hostpath
Hostpath浼���疏浚夸富�轰�����疏浚��山��潘藉�板�瑰�ㄤ�涓�锛�濡��� Pod ����璺ㄤ富�雾����寤猴��跺��疏浚瑰氨�句�璇�河渠�

3��Configmap
ConfigMap璺�Secrets绫讳技锛�浣���ConfigMap��浠ユ�存�逛究��澶���涓���������淇℃����海洋�绗�涓层��
褰�ConfigMap浠ユ�版���风��褰㈠���潘借�Pod���讹�杩��舵�存��ConfigMap锛���������寤�ConfigMap锛�锛�Pod����潘界����缃�淇℃��浼����存�般��杩��跺��浠ュ���涓�河渠���娴���缃���浠跺���寸������锛��跺��reload瀵瑰�����

4��Secret
Secret�ュ��������版��锛�姣�濡�瀵�����Token��瀵��ワ��告��河渠��存�ュ������版����缃���Pod��疏浚�涔���������涓�锛�Secret��岛�河渠��村��疏浚��ㄧ���哄�讹�Base64��瀵�锛�锛��叉�㈡�版��娉��层��Secret����寤烘����绔�河渠�Pod��锛�浠ユ�版���风��褰㈠���潘藉��Pod涓�锛�Secret���版��广大�浠ユ��浠剁��褰㈠�淇�海洋�锛�疏浚瑰�ㄩ��杩�璇诲����浠跺��浠ヨ�山����瑕����版��

==========================================================

涓��㈡��浠��ヤ�缁�涓�涓�k8s����涔���海洋��ㄦ�规�锛�����k8s������海洋��ㄦ�规�涓昏�濡�涓�锛�
��甯�寮���浠剁郴缁�锛�NFS/GlusterFS/CephFS
����河渠�海洋��ㄦ�规�锛�AWS/GCE/Auzre

杩���浣跨��nfs娴�璇�涓�涓�

��浠�杩���涓轰�郭�绀烘�逛究锛��冲��浣跨�ㄧ�稿�圭������ NFS 杩�绉�海洋��ㄨ�婧�锛��ヤ��ユ��浠��ㄨ����10.20.2.116涓��ュ��瑁� NFS ���★��版����褰�锛�/data/k8s/

�蜂�疏浚�瑁��规��惧害��濂藉�锛�疏浚�瑁�疏浚�nfs��潘藉��k8s��node���逛��㈠氨琛�
kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
疏浚���涔���广大卞��浠ラ�ㄧ讲pv锛���pvc

浠�涔���PV锛�pvc
PV ���ㄧО��锛�PersistentVolume锛���涔����凤�锛���瀵瑰�灞����变韩瀛��ㄧ��涓�绉��借薄锛�涓昏���疏浚�涔�涓�涓�纾�����澶у�

PVC ���ㄧО��锛�PersistentVolumeClaim锛���涔����山0��锛�锛�PVC ���ㄦ�山���ㄧ��涓�绉�澹版��锛�PVC �� Pod 姣�杈�绫讳技锛�Pod 娑����������戊寅�PVC 娑������� PV 璧�婧�

�ㄦ��pv锛�StorageClass
PVC 璇锋��颁�疏浚���海洋��ㄧ┖�翠�寰������戒�瓒充互婊¤冻搴��ㄥ�逛�海洋��ㄨ�惧�����绉���姹�锛���涓�涓�����搴��ㄧ�搴�瀵逛�海洋��ㄦ�ц�界��瑕�姹����戒�涓�广大界�稿��锛�姣�濡�璇诲����搴���骞跺���ц�界��锛�涓轰�瑙e�宠�涓���棰�锛�Kubernetes ��涓烘��浠�寮��ヤ�涓�涓��扮演��璧�婧�瀵硅薄锛�StorageClass锛���杩� StorageClass ��疏浚�涔�锛��ㄦ�锋�规�� StorageClass ����杩板氨��浠ラ��甯哥�磋����ラ����绉�海洋��ㄨ�婧����蜂��规�т�锛�杩��山氨��浠ユ�规��搴��ㄧ���规�у�荤�宠�山������海洋��ㄨ�婧�河渠�

kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
PV 浣�涓哄���ㄨ�婧�锛�涓昏�����海洋��ㄨ�藉����璁块��妯″���海洋��ㄧ把�������剁���ョ���抽��淇℃��
1G ��海洋��ㄧ┖�达�璁块��妯″�涓� ReadWriteOnce锛����剁���ヤ负 Recyle

kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
�舵���� Available锛�琛ㄧず pv1 广大辩华锛���浠ヨ� PVC �宠�枫����浠��ュ����瀵逛��㈢��灞��ц�琛�涓�河渠�瑙h�汇��

Capacity锛�海洋��ㄨ�藉��锛�
涓����ヨ�达�涓�涓� PV 瀵硅薄�借���疏浚�涓�涓�海洋��ㄨ�藉��锛���杩� PV �� capacity灞��ф�ヨ�剧疆��锛�����������海洋��ㄧ┖�寸��璁剧疆锛�广大辨����浠�杩����� storage=1Gi锛�涓�杩����ュ���戒����� IOPS��������绛���������缃���

====================================================================================
AccessModes锛�璁块��妯″�锛�
AccessModes ���ㄦ�ュ�� PV 杩�琛�璁块��妯″���璁剧疆锛��ㄤ���杩扮�ㄦ�山��ㄥ�瑰���ㄨ�婧���璁块������锛�璁块����������涓��㈠��绉��瑰�锛�

ReadWriteOnce锛�RWO锛�锛�璇诲������锛�浣������借���涓����规��潘�
ReadOnlyMany锛�ROX锛�锛���璇绘����锛���浠ヨ�澶�涓����规��潘�
ReadWriteMany锛�RWX锛�锛�璇诲������锛���浠ヨ�澶�涓����规��潘�
persistentVolumeReclaimPolicy锛����剁���ワ�

=======================================================================================
��杩�����疏浚��� PV �����剁���ヤ负 Recycle锛����� PV ������绛��ユ��涓�绉�锛�

Retain锛�淇���锛�- 淇����版��锛���瑕�绠$������宸ユ����版��
Recycle锛����讹�- 娓��� PV 涓����版��锛������稿�河渠��ц� rm -rf /thevoluem/*
Delete锛����わ�- 涓� PV �歌�����绔�海洋��ㄥ���� volume �����ゆ��浣�锛�褰��惰�甯歌�河渠�河渠����″����海洋��ㄦ���★�姣�濡� ASW EBS��
涓�杩���瑕�娉ㄦ������锛��������� NFS �� HostPath 涓ょ�绫诲���������剁���ャ��褰��朵����ヨ�磋���璁剧疆涓� Retain 杩�绉�绛��ヤ��╀��无边��

=======================================================================================
�舵��
涓�涓� PV �����藉�ㄦ��涓�锛����戒�澶�河渠�4涓�涓������舵�碉�

Available锛�����锛�锛�琛ㄧず���ㄧ�舵��锛�杩���琚�浠讳� PVC 缁�疏浚�
Bound锛�宸茬�疏浚�锛�锛�琛ㄧず PVC 宸茬�琚� PVC 缁�疏浚�
Released锛�宸查���撅�锛�PVC 琚����わ�浣���璧�婧�杩���琚���缇ら���板0��
Failed锛�澶辫触锛�锛� 琛ㄧず璇� PV �����ㄥ���跺け璐�

�ヤ��ュ��寤�pvc
璇锋� 1Gi ��海洋��ㄥ�归��锛�璁块��妯″�涔��� ReadWriteOnce锛�YAML ��浠跺�涓�锛�(pvc-nfs.yaml)

kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
PV 涔��� Bound �舵��河渠�锛�瀵瑰���澹版���� default/pvc-nfs锛�广大辨�� default �藉��绌洪�翠��㈢�� pvc-nfs锛�璇�����浠������板缓�� pvc-nfs ����浠��� pv-nfs 缁�疏浚�����河渠�
涓哄�ヤ�pv��pvc缁�疏浚���锛�杩���绯荤����ㄧ�疏浚���锛�浠�浠��藉�ㄩ�璁ょ���藉��绌洪��default涓��㈢郴缁����ㄧ�缁�疏浚�
涓轰�楠�璇���浠���寤轰�涓�pvc娴�璇�涓�涓�����瀵规��涓�涓�
kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
璇存��pvc2娌℃��������pv��浠ョ�疏浚�

�ヤ��ュ��寤�pv
kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
绯荤����ㄧ���浠�pv��pvc缁�疏浚���锛�
疏浚归��澶т�河渠� PV ���㈢��疏浚归����璇�锛���娌″��娉�杩�琛�缁�疏浚���锛�澶у�跺��浠ヤ��昏��宸辨�璇�涓�涓���
kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
��浠ュ�归��涓�疏浚�瑕�瀵瑰�璧锋��

淇��圭�稿��涔���广大卞�瑰�璧锋��
kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
��浠�宸茬��ラ����涔���寤� PV �� PVC 河渠�锛��板�ㄦ��浠�广大辨�ヤ娇�ㄤ���浠��� PVC锛��ヤ��ヤ娇��nginx �������ユ�璇�涓�锛�(nfs-pvc-deploy.yaml)

cat nfs-pvc-deploy.yaml

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nfs-pvc
spec:
replicas: 3
template:
metadata:
labels:
app: nfs-pvc
spec:
containers:

  • name: nginx
    image: nginx
    imagePullPolicy: IfNotPresent
    ports:
  • containerPort: 80
    name: web
    volumeMounts:
  • name: www
    mountPath: /usr/share/nginx/html
    volumes:
  • name: www
    persistentVolumeClaim:
    claimName: pvc2-nfs

  • apiVersion: v1
    kind: Service
    metadata:
    name: nfs-pvc
    labels:
    app: nfs-pvc
    spec:
    type: NodePort
    ports:

  • port: 80
    targetPort: web
    selector:
    app: nfs-pvc
  • 浣跨�� nginx ����锛�广大�疏浚瑰�ㄧ�� /usr/share/nginx/html ��褰���杩� volume ��潘藉�板��涓� pvc2-nfs �� PVC 涓���锛��跺����寤轰�涓� NodePort 绫诲���� Service �ユ�拈�叉����
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    璁块��涓�涓�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�

    涓哄��403娌℃��璧�婧���锛���涓烘��浠���nginx榛�璁ょ����褰���广大��颁�pvc涓���锛�pvc涓��㈡病魔涓�瑗匡��ヤ��ユ��浠���寤虹�逛�瑗胯��璇�

    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    杩�������涓�海洋�绗�����棰�锛�璇存���卞凡缁�娴�璇�����河渠���

    ========================================================================================================================
    濡�����浠�����涓�涓��扮演�� nginx 疏浚瑰�ㄤ���河渠��版����褰�����潘斤���涓���广大变����茬��河渠���锛���浠ヨ�涓��跺��广大变�澶�濂藉�哄��河渠�锛�杩�涓��跺����浠���浠ュ�� Pod 涓�浣跨�ㄤ�涓��扮演��灞��э�subPath锛�璇ュ��у��浠ユ�ヨВ�宠�涓���棰�锛���浠�����瑕��存�逛��㈢�� Pod �� YAML ��浠跺�冲��
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�

    �跺����寤�

    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    浠��舵病��涓�瑗匡��ヤ��ュ�彭�����缃�椤甸��
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    ���锋�拌��璇�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�

    涓や锅nginx疏浚瑰�ㄧ����疏浚规��疏浚��ㄤ�涓��风��瀵瑰��
    ����pv��pvc广大辨�绀哄�拌���锛����㈠�彭��ㄦ����pv��pvc

    娉ㄦ��河渠�椤�
    濡���杩�涓��跺����浠��� PV 缁����や�锛�涓��㈡��涔������版��杩�浼�海洋��ㄥ��锛�濡��������ょ�� PVC ��锛��ㄥ����浣跨�ㄧ��宸ョ�涓�锛���寰������藉�雾�拌�绉����电���э�澶у�跺�ㄤ娇�� PV �� PVC ���跺��涓�疏浚�瑕�娉ㄦ��杩�河渠�缁���锛�涓��朵�涓�广大�蹇�广大辨���版����涓�河渠�

    ========================================================================================================================

    瑕�浣跨�� StorageClass锛���浠�广大卞�疏浚�瑁�瀵瑰������ㄩ��缃�绋�搴�锛�姣�濡���浠�杩���海洋��ㄥ��绔�浣跨�ㄧ���� nfs锛��d���浠�广大遍��瑕�浣跨�ㄥ�颁�涓� nfs-client �����ㄩ��缃�绋�搴�锛���浠�涔���疏浚� Provisioner锛�杩�涓�绋�搴�浣跨�ㄦ��浠�宸茬���缃�濂界�� nfs ���″��锛��ヨ���ㄥ��寤烘��涔��凤�涔�广大辨�����ㄥ府��浠���寤� PV��
    ���ヤ��ユ��浠��ㄧ讲 nfs-client �冲��锛���浠�涔���浠ョ�存�ュ���� nfs-client ����妗o�https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client锛�杩�琛�疏浚�瑁��冲��
    绗�涓�姝ワ���缃� Deployment锛�广大����㈢��瀵瑰������版�挎�㈡����浠���宸辩�� nfs ��缃�锛�nfs-client.yaml锛���
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    绗�河渠�姝ワ�广大���澧����� NFS_SERVER �� NFS_PATH �挎��锛�褰��朵�����涓��㈢�� nfs ��缃�锛���浠���浠ョ���版��浠�杩���浣跨�ㄤ�涓�涓���涓� nfs-client-provisioner ��serviceAccount锛���浠ユ��浠�涔���瑕���寤轰�涓� sa锛��跺��缁�疏浚�涓�瀵瑰�������锛�锛�nfs-client-sa.yaml锛�
    cat nfs-client-sa.yaml
    apiVersion: v1
    kind: ServiceAccount
    metadata:
    name: nfs-client-provisioner


    kind: ClusterRole
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
    name: nfs-client-provisioner-runner
    rules:

  • apiGroups: [""]
    resources: ["persistentvolumes"]
    verbs: ["get", "list", "watch", "create", "delete"]
  • apiGroups: [""]
    resources: ["persistentvolumeclaims"]
    verbs: ["get", "list", "watch", "update"]
  • apiGroups: ["storage.k8s.io"]
    resources: ["storageclasses"]
    verbs: ["get", "list", "watch"]
  • apiGroups: [""]
    resources: ["events"]
    verbs: ["list", "watch", "create", "update", "patch"]
  • apiGroups: [""]
    resources: ["endpoints"]
    verbs: ["create", "delete", "get", "list", "watch", "patch", "update"]

  • kind: ClusterRoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
    name: run-nfs-client-provisioner
    subjects:

  • kind: ServiceAccount
    name: nfs-client-provisioner
    namespace: default
    roleRef:
    kind: ClusterRole
    name: nfs-client-provisioner-runner
    apiGroup: rbac.authorization.k8s.io
  • ��浠�杩����板缓��涓�涓���涓� nfs-client-provisioner ��ServiceAccount锛��跺��缁�疏浚�河渠�涓�涓���涓� nfs-client-provisioner-runner ��ClusterRole锛���璇�ClusterRole澹版��河渠�涓�河渠�����锛��朵腑灏卞����瀵�persistentvolumes��澧��������无边���ョ������锛���浠ユ��浠���浠ュ�╃�ㄨ��ServiceAccount�ヨ���ㄥ��寤� PV��

    绗�涓�姝ワ�nfs-client �� Deployment 澹版��疏浚�����锛���浠�广大卞��浠ユ�ュ��寤轰�涓�StorageClass瀵硅薄浜�锛�锛�nfs-client-class.yaml锛�

    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    ��浠�澹版��河渠�涓�涓���涓� course-nfs-storage ��StorageClass瀵硅薄锛�娉ㄦ��涓��㈢��provisioner瀵瑰����间�疏浚�瑕���涓��㈢��Deployment涓��㈢�� PROVISIONER_NAME 杩�涓���澧��������间��枫��

    �板�ㄦ��浠��ュ��寤鸿�河渠�璧�婧�瀵硅薄�э�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    ��寤哄�������ョ��涓�璧�婧��舵��锛�

    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    涓��㈡��StorageClass璧�婧�瀵硅薄��寤烘����河渠�锛��ヤ��ユ��浠��ラ��杩�涓�涓�绀轰�娴�璇�涓��ㄦ�� PV锛�兄弟�����寤轰�涓� PVC 瀵硅薄锛�(test-pvc.yaml)
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    ��浠�杩���澹版��河渠�涓�涓� PVC 瀵硅薄锛����� ReadWriteMany ��璁块��妯″�锛�璇锋� 1Mi ��绌洪�达�浣�����浠���浠ョ���颁��㈢�� PVC ��浠舵��浠�娌℃����璇��轰换浣��� StorageClass �稿�宠����淇℃��锛��d�濡�����浠��板�ㄧ�存�ュ��寤鸿�涓� PVC 瀵硅薄�藉����ㄧ�疏浚�涓������� PV 瀵硅薄��锛��剧�舵��涓��界��(������娌℃�������� PV)锛���浠�杩�����涓ょ��规���浠ユ�ュ�╃�ㄤ��㈡��浠���寤虹�� StorageClass 瀵硅薄�ヨ���ㄥ府��浠���寤轰�涓������� PV:广大辨��涓��㈠��绾㈠������绗�涓�绉��瑰�

    绗�河渠�绉��瑰�锛�
    kubectl patch storageclass course-nfs-storage -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
    ��濂界�ㄧ��涓�绉�锛��存�ユ房��广大辫��跺���存��create
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    ��浠���浠ョ���颁�涓���涓� test-pvc �� PVC 瀵硅薄��寤烘����河渠�锛��舵��宸茬��� Bound 河渠�锛���涓���涔�河渠х��河渠�涓�涓�瀵瑰��� VOLUME 瀵硅薄锛�����瑕���涓����� STORAGECLASS锛��板�ㄦ��涓���涔����间�锛�广大辨����浠�������寤虹�� StorageClass 瀵硅薄 course-nfs-storage��浠ョ���版��涓������ㄧ����河渠�涓�涓��宠���� PV 瀵硅薄锛�璁块��妯″��� RWX锛����剁���ユ�� Delete锛�杩�涓� PV 瀵硅薄骞朵�����浠����ㄥ��寤虹���э�杩�����杩���浠�涓��㈢�� StorageClass 瀵硅薄���ㄥ��寤虹����杩�广大辨�� StorageClass ����寤烘�规���
    �ヤ��ユ�璇�涓�涓�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    杩�涓� Pod ��甯哥����锛�广大辨���ㄤ�涓� busybox 疏浚瑰��锛��� /mnt ��褰�涓��㈡�板缓涓�涓� SUCCESS ����浠讹��跺���� /mnt ��褰���潘藉�颁��㈡��浠��板缓�� test-pvc 杩�涓�璧�婧�瀵硅薄涓���河渠�锛�瑕�楠�璇�寰�绠���锛�����瑕��绘�ョ��涓���浠� nfs ���″�ㄤ��㈢���变韩�版����褰�涓��㈡������ SUCCESS 杩�涓���浠跺�冲��
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    ��澶���浠���浠ョ���版��浠�杩��������ㄥ��寤虹��涓�涓� PVC 瀵硅薄锛��ㄥ����宸ヤ�涓�锛�浣跨�� StorageClass �村����� StatefulSet 绫诲�������★�StatefulSet 绫诲�������℃��浠�涔���浠ラ��杩�涓�涓� volumeClaimTemplates 灞��ф�ョ�存�ヤ娇�� StorageClass锛�濡�涓�锛�(test-statefulset-nfs.yaml)
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    疏浚���涓� volumeClaimTemplates 涓��㈠氨��涓�涓� PVC 瀵硅薄��妯℃�救救�广大辩被浼间���浠�杩��� StatefulSet 涓��㈢�� template锛�疏浚���涓�广大辨��涓�涓� Pod ��妯℃�救救���浠�涓�������寤烘�� PVC 瀵硅薄锛����ㄨ�绉�妯℃�垮氨��浠ュ�ㄦ�����诲��寤轰�瀵硅薄浜�锛�杩�绉��瑰��� StatefulSet 绫诲�������′���浣跨�ㄥ���甯稿���
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    ��nfs涓��㈢��pv������娌℃���版��
    kubernetes��涔���海洋���,����海洋��ㄣ��pv��,�ㄦ��海洋��ㄣ��StorageClass��锛�5锛�
    澶��烘�ヤ�3涓���褰� 淇℃��

    �跺��涓��㈢���芥��������绯荤��锛���河渠т腑��瑕�澶�纾ㄧ�煎�海洋�涔���濂�
    海洋�涔����跺���雾�颁换浣���棰���浠ョ�淇″����绯绘��