Skip to content

Commit 4845d90

Browse files
Update ol7_a100.sh
1 parent 4feca87 commit 4845d90

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

terraform/rdma/cloud-init/ol7_a100.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@ OKE_KUBELET_CA_CERT=$(curl -sH "Authorization: Bearer Oracle" -L http://169.254.
66

77
# Adjust boot volume size
88
sudo dd iflag=direct if=/dev/oracleoci/oraclevda of=/dev/null count=1
9-
echo "1" | sudo tee /sys/class/block/`readlink /dev/oracleoci/oraclevda | cut -d'/' -f 2`/device/resca
9+
echo "1" | sudo tee /sys/class/block/`readlink /dev/oracleoci/oraclevda | cut -d'/' -f 2`/device/rescan
1010
sudo /usr/libexec/oci-growfs -y
1111

1212
timedatectl set-timezone $${worker_timezone}
1313

14-
# Initialize OKE
15-
# Do not remove the "oci.oraclecloud.com/oci-rdma-health-check" taint. It's used to wait until the RDMA network is configured on the node. The daemonset that you will deploy with the insructions will remove the taint when network is ready.
16-
1714
bash /etc/oke/oke-install.sh \
1815
--apiserver-endpoint $OKE_APISERVER_ENDPOINT \
19-
--kubelet-ca-cert $OKE_KUBELET_CA_CERT \
20-
--kubelet-extra-args "--register-with-taints=oci.oraclecloud.com/oci-rdma-health-check:NoSchedule"
21-
22-
touch /var/log/oke.done
16+
--kubelet-ca-cert $OKE_KUBELET_CA_CERT

0 commit comments

Comments
 (0)