K8S同步容器跟外部物理机时间
volumeMounts:- name: host-timemountPath: /etc/localtimereadOnly: truevolumes:- name: host-timehostPath:path: /etc/localtime
·
volumeMounts:
- name: host-time
mountPath: /etc/localtime
readOnly: true
volumes:
- name: host-time
hostPath:
path: /etc/localtime
更多推荐
已为社区贡献5条内容
所有评论(0)