Browse Source

后端服务pod挂载持久化

dev-DXTZYK
chenzhihang 1 year ago
parent
commit
c1fc913ac1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      k8s/k8s-7management.yaml

+ 1
- 1
k8s/k8s-7management.yaml View File

@@ -23,7 +23,7 @@ spec:
mountPath: /home/resource/
volumes:
- name: resource
hostPath: # 指定宿主机目录为 /data/nginx/log
hostPath:
path: /home/resource/
type: DirectoryOrCreate



Loading…
Cancel
Save