Skip to content

Commit ea53c1c

Browse files
committed
Update yaml
- Add timezone volume - Delete unused log volume - Update tolerations
1 parent e2d1764 commit ea53c1c

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

yaml/galaxy-ipam.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ spec:
139139
mountPath: /data/galaxy-ipam/logs
140140
- name: galaxy-ipam-etc
141141
mountPath: /etc/galaxy
142+
- name: tz-config
143+
mountPath: /etc/localtime
142144
terminationGracePeriodSeconds: 30
143145
tolerations:
144146
- effect: NoSchedule
@@ -154,6 +156,9 @@ spec:
154156
defaultMode: 420
155157
name: galaxy-ipam-etc
156158
name: galaxy-ipam-etc
159+
- name: tz-config
160+
hostPath:
161+
path: /etc/localtime
157162
---
158163
apiVersion: v1
159164
kind: ConfigMap

yaml/galaxy.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ spec:
105105
mountPath: /var/run/galaxy/
106106
- name: flannel-run
107107
mountPath: /run/flannel
108-
- name: galaxy-log
109-
mountPath: /data/galaxy/logs
110108
- name: galaxy-etc
111109
mountPath: /etc/galaxy
112110
- name: cni-config
@@ -119,19 +117,18 @@ spec:
119117
mountPath: /var/lib/cni
120118
- name: docker-sock
121119
mountPath: /host/run/
120+
- name: tz-config
121+
mountPath: /etc/localtime
122122
terminationGracePeriodSeconds: 30
123123
tolerations:
124-
- effect: NoSchedule
125-
operator: Exists
124+
- operator: Exists
126125
volumes:
127126
- name: galaxy-run
128127
hostPath:
129128
path: /var/run/galaxy
130129
- name: flannel-run
131130
hostPath:
132131
path: /run/flannel
133-
- name: galaxy-log
134-
emptyDir: {}
135132
- configMap:
136133
defaultMode: 420
137134
name: galaxy-etc
@@ -153,6 +150,9 @@ spec:
153150
# in case of docker restart, /run/docker.sock may change, we have to mount the /run directory
154151
hostPath:
155152
path: /run/
153+
- name: tz-config
154+
hostPath:
155+
path: /etc/localtime
156156
---
157157
apiVersion: v1
158158
kind: ConfigMap

0 commit comments

Comments
 (0)