提交 ca4b468b 作者: 余乾开

Update deployment.yaml

上级 0b3dcb4e
...@@ -22,6 +22,9 @@ spec: ...@@ -22,6 +22,9 @@ spec:
volumeMounts: volumeMounts:
- name: log-of-app - name: log-of-app
mountPath: /var/log/app mountPath: /var/log/app
- name: localtime
mountPath: /etc/localtime
readOnly: true
resources: resources:
limits: limits:
memory: 1024Mi memory: 1024Mi
...@@ -47,4 +50,7 @@ spec: ...@@ -47,4 +50,7 @@ spec:
volumes: volumes:
- name: log-of-app - name: log-of-app
hostPath: hostPath:
path: /var/log/app path: /var/log/app
\ No newline at end of file - name: localtime
hostPath:
path: /etc/localtime
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论