后端服务pod挂载持久化
This commit is contained in:
parent
223f6ba92b
commit
1673d9480f
|
@ -18,6 +18,14 @@ spec:
|
|||
image: 172.20.32.187/ci4s/managent:20240401
|
||||
ports:
|
||||
- containerPort: 9213
|
||||
volumeMounts:
|
||||
- name: resource
|
||||
mountPath: /home/resource/
|
||||
volumes:
|
||||
- name: resource
|
||||
hostPath: # 指定宿主机目录为 /data/nginx/log
|
||||
path: /home/resource/
|
||||
type: DirectoryOrCreate
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
Loading…
Reference in New Issue