We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9855dd2 commit 8d48da6Copy full SHA for 8d48da6
terraform/cloud-init/ubuntu.sh
@@ -3,6 +3,14 @@
3
# Add OKE repo & install the package
4
add-apt-repository -y 'deb [trusted=yes] https://odx-oke.objectstorage.us-sanjose-1.oci.customer-oci.com/n/odx-oke/b/okn-repositories/o/prod/ubuntu-jammy/kubernetes-1.29 stable main'
5
6
+while fuser /var/lib/apt/lists/lock >/dev/null 2>&1 ; do
7
+ echo "Waiting for other apt instances to exit"
8
+ # Sleep to avoid pegging a CPU core while polling this lock
9
+ sleep 1
10
+done
11
+
12
+apt update
13
14
apt install -y oci-oke-node-all*
15
16
oke bootstrap --manage-gpu-services
0 commit comments