File tree Expand file tree Collapse file tree 5 files changed +49
-1
lines changed Expand file tree Collapse file tree 5 files changed +49
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ helm install core-dump-handler . --create-namespace --namespace observe \
39
39
<tr >
40
40
<td>AWS</td><td>EKS with IAM roles for service accounts</td><td><a href="values.aws.sts.yaml">values.aws.yaml</a></td>
41
41
</tr >
42
+ <tr >
43
+ <td>AWS</td><td>EKS with Bottlerocket nodes</td><td><a href="values.aws.bottlerocket.yaml">values.bottlerocket.yaml</a></td>
44
+ </tr >
42
45
<tr >
43
46
<td>AWS</td><td>ROSA</td><td><a href="values.openshift.yaml">values.openshift.yaml</a></td>
44
47
</tr >
Original file line number Diff line number Diff line change 30
30
- name : core-volume
31
31
mountPath : {{ .Values.daemonset.coreDirectory }}
32
32
mountPropagation : Bidirectional
33
+ {{- if .Values.daemonset.mountContainerRuntimeEndpoint }}
34
+ - mountPath : {{ .Values.daemonset.hostContainerRuntimeEndpoint }}
35
+ name : container-runtime
36
+ {{- end }}
33
37
env :
34
38
- name : COMP_FILENAME_TEMPLATE
35
39
value : {{ .Values.composer.filenameTemplate | quote }}
@@ -115,3 +119,8 @@ spec:
115
119
- name : core-volume
116
120
persistentVolumeClaim :
117
121
claimName : core-storage-pvc
122
+ {{- if .Values.daemonset.mountContainerRuntimeEndpoint }}
123
+ - name : container-runtime
124
+ hostPath :
125
+ path : {{ .Values.daemonset.hostContainerRuntimeEndpoint }}
126
+ {{- end }}
Original file line number Diff line number Diff line change
1
+ # AWS requires a crio client to be copied to the server
2
+ daemonset :
3
+ includeCrioExe : true
4
+ deployCrioConfig : true
5
+ vendor : default
6
+ # Bottlerocket requires the host containerd socket mounted, it is located here as of 1.8.0
7
+ # Depending on the outcome of this issue, it may move in the future
8
+ # https://github.com/bottlerocket-os/bottlerocket/issues/2212
9
+ crioEndpoint : " unix:///run/dockershim.sock"
10
+ mountContainerRuntimeEndpoint : true
11
+ hostContainerRuntimeEndpoint : " /run/dockershim.sock"
12
+
13
+ serviceAccount :
14
+ annotations :
15
+ # See https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html
16
+ eks.amazonaws.com/role-arn : arn:aws:iam::123456789000:role/iam-role-name-here
Original file line number Diff line number Diff line change 171
171
" s3Secret"
172
172
]
173
173
}
174
- }
174
+ },
175
+ {
176
+ "if" : {
177
+ "properties" : {
178
+ "mountContainerRuntimeEndpoint" : {
179
+ "const" : true
180
+ }
181
+ },
182
+ "required" : [
183
+ " hostContainerRuntimeEndpoint"
184
+ ]
185
+ }
186
+ }
175
187
],
176
188
"properties" : {
177
189
"name" : {
208
220
"crioEndpoint" : {
209
221
"type" : " string"
210
222
},
223
+ "mountContainerRuntimeEndpoint" : {
224
+ "type" : " boolean"
225
+ },
226
+ "hostContainerRuntimeEndpoint" : {
227
+ "type" : " string"
228
+ },
211
229
"includeCrioExe" : {
212
230
"type" : " boolean"
213
231
},
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ daemonset:
34
34
hostDirectory : " /var/mnt/core-dump-handler"
35
35
coreDirectory : " /var/mnt/core-dump-handler/cores"
36
36
crioEndpoint : " unix:///run/containerd/containerd.sock"
37
+ mountContainerRuntimeEndpoint : false
38
+ hostContainerRuntimeEndpoint : " /run/containerd/containerd.sock"
37
39
suidDumpable : 2
38
40
vendor : default
39
41
# interval: 60000
You can’t perform that action at this time.
0 commit comments