Skip to content

Commit 9a3c52d

Browse files
committed
add rebuild cubes after each iris pod restart
1 parent 9735071 commit 9a3c52d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

k8s/statefulset.tpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ spec:
1616
labels:
1717
app: dc-analytics
1818
spec:
19-
2019
initContainers:
2120
- name: dc-volume-change-owner-hack
2221
image: busybox
@@ -38,6 +37,11 @@ spec:
3837
containers:
3938
- image: DOCKER_REPO_NAME:DOCKER_IMAGE_TAG
4039
name: dc-analytics
40+
args:
41+
- --check-caps
42+
- "false"
43+
- --after
44+
- iris session iris -U DCANALYTICS '##class(%DeepSee.Utils).%BuildCube("VIEWSHISTORY")' > /proc/1/fd/1
4145
lifecycle:
4246
postStart:
4347
exec:

0 commit comments

Comments
 (0)