yaml如下
volumeMounts: - name: logs-volume mountPath: /data/xxx/logs subPath: logs - name: logs-volume mountPath: /home subPath: file volumes: - name: logs-volume persistentVolumeClaim: claimName: xxxx-pvc
yaml如下
volumeMounts: - name: logs-volume mountPath: /data/xxx/logs subPath: logs - name: logs-volume mountPath: /home subPath: file volumes: - name: logs-volume persistentVolumeClaim: claimName: xxxx-pvc