Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Mount iscsiadm from host to avoid versioning issues
Browse files Browse the repository at this point in the history
  • Loading branch information
deitch committed Oct 1, 2019
1 parent 19a7971 commit ab4c446
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/kubernetes/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ spec:
- name: kubelet-dir
mountPath: /var/lib/kubelet/pods
mountPropagation: "Bidirectional"
- name: iscsiadm
mountPath: /sbin/iscsiadm
- name: plugin-dir
mountPath: /csi
- name: sys-devices
Expand Down Expand Up @@ -90,6 +92,10 @@ spec:
hostPath:
path: /var/lib/kubelet/plugins/net.packet.csi/
type: DirectoryOrCreate
- name: iscsiadm
hostPath:
path: /sbin/iscsiadm
type: File
- name: dev
hostPath:
path: /dev
Expand Down
6 changes: 6 additions & 0 deletions deploy/kubernetes/node_controller_sanity_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ spec:
- name: kubelet-dir
mountPath: /var/lib/kubelet
mountPropagation: "Bidirectional"
- name: iscsiadm
mountPath: /sbin/iscsiadm
- name: plugin-dir
mountPath: /csi
- name: sys-devices
Expand Down Expand Up @@ -89,6 +91,10 @@ spec:
hostPath:
path: /var/lib/kubelet/plugins/net.packet.csi/
type: DirectoryOrCreate
- name: iscsiadm
hostPath:
path: /sbin/iscsiadm
type: File
- name: dev
hostPath:
path: /dev
Expand Down

0 comments on commit ab4c446

Please sign in to comment.