修改日志挂载路径

This commit is contained in:
付庆吉
2021-08-02 09:24:29 +08:00
parent 091ea9dd82
commit 2f9fc4116b
3 changed files with 12 additions and 6 deletions

View File

@ -37,9 +37,8 @@ spec:
spec:
volumes:
- name: log
persistentVolumeClaim:
claimName: log-pvc
readOnly: false
hostPath:
path: /var/lib/docker/log/349553515466-preprod/default-group/all #开发环境
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution: