aws: enable iscsid.service
To allow Lokomotive users to also use our planned OpenEBS component on
AWS, enable iscsid on the host and mount the `iscsiadm` binary into the
rkt fly kubelet pod, as OpenEBS expects it in $PATH.
@@ -3,6 +3,9 @@ systemd:
units:
- name: docker.service
enable: true
+ - name: iscsid.service
+ enable: true
+ enabled: true
- name: locksmithd.service
mask: true
- name: wait-for-dns.service
@@ -37,6 +40,8 @@ systemd:
--mount volume=opt-cni-bin,target=/opt/cni/bin \
--volume var-log,kind=host,source=/var/log \
--mount volume=var-log,target=/var/log \
+ --volume iscsiadm,kind=host,source=/usr/sbin/iscsiadm \
+ --mount volume=iscsiadm,target=/usr/sbin/iscsiadm \
--insecure-options=image"
ExecStartPre=/bin/mkdir -p /opt/cni/bin
ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests
