挂在本地时间
volumeMounts:
- mountPath: /etc/localtime
name: tz
readOnly: true
volumes:
- hostPath:
path: /etc/localtime
type: ""
name: tz
挂在本地字体
本地字体存储路径/usr/share/fonts/dejavu/
容器内字体存储路径/usr/share/fonts/truetype/dejavu/
volumeMounts:
- mountPath: /usr/share/fonts/truetype/dejavu
name: fonts
volumes:
- hostPath:
path: /usr/share/fonts/dejavu
type: Directory
name: fonts