Skip to content

Commit

Permalink
Mount host root directory to mig-manager to allow reboot.
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamerla committed May 19, 2021
1 parent 87b634b commit f43dfaf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions assets/state-mig-manager/0600_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,17 @@ spec:
value: "/mig-parted-config/config.yaml"
- name: WITH_REBOOT
value: "FILLED_BY_OPERATOR"
- name: HOST_ROOT_MOUNT
value: "/host"
securityContext:
privileged: true
volumeMounts:
- mountPath: /sys
name: host-sys
- mountPath: /mig-parted-config
name: mig-parted-config
- mountPath: /host
name: host-root
volumes:
- name: host-sys
hostPath:
Expand All @@ -62,3 +66,6 @@ spec:
hostPath:
path: "/run/nvidia"
type: Directory
- name: host-root
hostPath:
path: "/"

0 comments on commit f43dfaf

Please sign in to comment.