diff --git a/CHANGES.md b/CHANGES.md index 7b9d2faf..77b77f22 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -26,6 +26,10 @@ Notable changes between versions. * Fix issue where Azure defaults to `Deallocate` eviction policy, which required manually restarting deallocated instances. `Delete` policy aligns Azure with AWS and GCP behavior. * Require `terraform-provider-azurerm` v1.19+ (action required) +#### Bare-Metal + +* Add Kubelet `/etc/iscsi` and `iscsadm` mounts on bare-metal for iSCSI ([#103](https://github.com/poseidon/typhoon/pull/103)) + #### Addons * Update nginx-ingress from v0.20.0 to v0.21.0 diff --git a/bare-metal/container-linux/kubernetes/cl/controller.yaml.tmpl b/bare-metal/container-linux/kubernetes/cl/controller.yaml.tmpl index 3a893a52..72b61805 100644 --- a/bare-metal/container-linux/kubernetes/cl/controller.yaml.tmpl +++ b/bare-metal/container-linux/kubernetes/cl/controller.yaml.tmpl @@ -70,6 +70,10 @@ 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 iscsiconf,kind=host,source=/etc/iscsi/ \ + --mount volume=iscsiconf,target=/etc/iscsi/ \ + --volume iscsiadm,kind=host,source=/usr/sbin/iscsiadm \ + --mount volume=iscsiadm,target=/sbin/iscsiadm \ --insecure-options=image" ExecStartPre=/bin/mkdir -p /opt/cni/bin ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests diff --git a/bare-metal/container-linux/kubernetes/cl/worker.yaml.tmpl b/bare-metal/container-linux/kubernetes/cl/worker.yaml.tmpl index 5aa30bb0..7a2f778d 100644 --- a/bare-metal/container-linux/kubernetes/cl/worker.yaml.tmpl +++ b/bare-metal/container-linux/kubernetes/cl/worker.yaml.tmpl @@ -45,6 +45,10 @@ 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 iscsiconf,kind=host,source=/etc/iscsi/ \ + --mount volume=iscsiconf,target=/etc/iscsi/ \ + --volume iscsiadm,kind=host,source=/usr/sbin/iscsiadm \ + --mount volume=iscsiadm,target=/sbin/iscsiadm \ --insecure-options=image" ExecStartPre=/bin/mkdir -p /opt/cni/bin ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests