Kubernetes PV/PVC 发表于 2018-04-17 | 分类于 Kubernetes , Deployment PVPVC1234567891011apiVersion: v1kind: PersistentVolumeClaimmetadata: name: pv-claimspec: accessModes: - ReadWriteOnce resources: requests: storage: 5Gi storageClassName: pd-standard 使用PVC 1234567volumes: - name: nameservice-logs-ps persistentVolumeClaim: claimName: nameservice-logs-pv-claim - name: nameservice-store-ps persistentVolumeClaim: claimName: nameservice-store-pv-claim