Skip to content

Commit 1c4796f

Browse files
committed
Add modules and cgroups mounts to the runners on the arm cluster
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
1 parent 668dad6 commit 1c4796f

File tree

5 files changed

+65
-0
lines changed

5 files changed

+65
-0
lines changed

ci/cluster/oci-arm64/runners/16cpu-64gb/install.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@ spec:
377377
- mountPath: /tmp
378378
name: work
379379
subPath: tmp
380+
- mountPath: /lib/modules
381+
name: modules
382+
readOnly: true
383+
- mountPath: /sys/fs/cgroup
384+
name: cgroup
380385
initContainers:
381386
- command:
382387
- chmod
@@ -417,6 +422,14 @@ spec:
417422
- 999
418423
serviceAccountName: oracle-16cpu-64gb-arm64-gha-rs-no-permission
419424
volumes:
425+
- name: modules
426+
hostPath:
427+
path: /lib/modules
428+
type: Directory
429+
- name: cgroup
430+
hostPath:
431+
path: /sys/fs/cgroup
432+
type: Directory
420433
- emptyDir: {}
421434
name: dind-sock
422435
- emptyDir: {}

ci/cluster/oci-arm64/runners/24cpu-384gb/install.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,11 @@ spec:
378378
- mountPath: /tmp
379379
name: work
380380
subPath: tmp
381+
- mountPath: /lib/modules
382+
name: modules
383+
readOnly: true
384+
- mountPath: /sys/fs/cgroup
385+
name: cgroup
381386
initContainers:
382387
- command:
383388
- chmod
@@ -418,6 +423,14 @@ spec:
418423
- 999
419424
serviceAccountName: oracle-16cpu-64gb-arm64-gha-rs-no-permission
420425
volumes:
426+
- name: modules
427+
hostPath:
428+
path: /lib/modules
429+
type: Directory
430+
- name: cgroup
431+
hostPath:
432+
path: /sys/fs/cgroup
433+
type: Directory
421434
- emptyDir: {}
422435
name: dind-sock
423436
- emptyDir: {}

ci/cluster/oci-arm64/runners/2cpu-8gb/install.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@ spec:
377377
- mountPath: /tmp
378378
name: work
379379
subPath: tmp
380+
- mountPath: /lib/modules
381+
name: modules
382+
readOnly: true
383+
- mountPath: /sys/fs/cgroup
384+
name: cgroup
380385
initContainers:
381386
- command:
382387
- chmod
@@ -417,6 +422,14 @@ spec:
417422
- 999
418423
serviceAccountName: oracle-16cpu-64gb-arm64-gha-rs-no-permission
419424
volumes:
425+
- name: modules
426+
hostPath:
427+
path: /lib/modules
428+
type: Directory
429+
- name: cgroup
430+
hostPath:
431+
path: /sys/fs/cgroup
432+
type: Directory
420433
- emptyDir: {}
421434
name: dind-sock
422435
- emptyDir: {}

ci/cluster/oci-arm64/runners/4cpu-16gb/install.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@ spec:
377377
- mountPath: /tmp
378378
name: work
379379
subPath: tmp
380+
- mountPath: /lib/modules
381+
name: modules
382+
readOnly: true
383+
- mountPath: /sys/fs/cgroup
384+
name: cgroup
380385
initContainers:
381386
- command:
382387
- chmod
@@ -417,6 +422,14 @@ spec:
417422
- 999
418423
serviceAccountName: oracle-16cpu-64gb-arm64-gha-rs-no-permission
419424
volumes:
425+
- name: modules
426+
hostPath:
427+
path: /lib/modules
428+
type: Directory
429+
- name: cgroup
430+
hostPath:
431+
path: /sys/fs/cgroup
432+
type: Directory
420433
- emptyDir: {}
421434
name: dind-sock
422435
- emptyDir: {}

ci/cluster/oci-arm64/runners/8cpu-32gb/install.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,11 @@ spec:
378378
- mountPath: /tmp
379379
name: work
380380
subPath: tmp
381+
- mountPath: /lib/modules
382+
name: modules
383+
readOnly: true
384+
- mountPath: /sys/fs/cgroup
385+
name: cgroup
381386
initContainers:
382387
- command:
383388
- chmod
@@ -418,6 +423,14 @@ spec:
418423
- 999
419424
serviceAccountName: oracle-16cpu-64gb-arm64-gha-rs-no-permission
420425
volumes:
426+
- name: modules
427+
hostPath:
428+
path: /lib/modules
429+
type: Directory
430+
- name: cgroup
431+
hostPath:
432+
path: /sys/fs/cgroup
433+
type: Directory
421434
- emptyDir: {}
422435
name: dind-sock
423436
- emptyDir: {}

0 commit comments

Comments
 (0)