Bundles and scripts we are using to deploy UDS things into our nucs-n-crannies
TLDR; While connected:
- Install and deploy RKE2. See this readme
- Build all the bundles
- Deploy init-bundle (Needs internet)
Shudown machine... Disconnect from network... Startup machine...
Disconnected
- Update and run
dummy-nic.sh
This will set up dummy route with the original IP and restart RKE2 - RKE2 cluster should be back :fingers-crossed:
- Deploy uds-core, lfai, swf bundles. This can also happen while connected if you wish
- Connect to machine via thunderbolt network connection
- ssh into machine through that connection and show all the things
Once connected to the cluster you can run UDS tasks to build and deploy the bundle.
# Create init bundle
uds run create-init-bundle
# Create uds-core bundle
uds run create-uds-core-bundle
# Create LeapfrogAI CPU bundle
uds run create-lfai-cpu-bundle
# Create LeapfrogAI GPU bundle
uds run create-lfai-gpu-bundle
# Create swf bundle
uds run create-swf-bundle
# Deploy init bundle
uds run deploy-init-bundle
# Deploy uds-core bundle (10m)
uds run deploy-uds-core-bundle
# Deploy LeapfrogAI CPU bundle (4m)
uds run deploy-lfai-cpu-bundle
# Deploy LeapfrogAI GPU bundle (4m)
uds run deploy-lfai-gpu-bundle
# Deploy swf bundle (? Probably 5m) Hit disc pressure issue before I could finish
uds run deploy-swf-bundle