Edited demo screencast-fpga-preprogrammed. Replaced 'master' with 'main' in lines 41, 77, 97, and 98.

Signed-off-by: DougTW <doug.martin@intel.com>
This commit is contained in:
DougTW 2021-02-12 13:34:18 -08:00 committed by Ed Bartosh
parent d0ab71c93a
commit faf3695cdc

View File

@ -38,7 +38,7 @@ cleanup()
clear
out 'Cleanup demo artifacts' 200
command 'kubectl delete pod test-fpga-preprogrammed || true' 200
command 'kubectl delete -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/master/deployments/fpga_admissionwebhook/mappings-collection.yaml || true' 200
command 'kubectl delete -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/deployments/fpga_admissionwebhook/mappings-collection.yaml || true' 200
command 'kubectl delete namespace intelfpgaplugin-system || true' 200
command 'kubectl annotate node --all fpga.intel.com/device-plugin-mode-' 200
}
@ -74,7 +74,7 @@ screen2()
command 'kubectl apply -k https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/fpga_plugin/overlays/af' 100
sleep 2
out 'Deploy example mappings:'
command 'kubectl apply -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/master/deployments/fpga_admissionwebhook/mappings-collection.yaml' 100
command 'kubectl apply -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/deployments/fpga_admissionwebhook/mappings-collection.yaml' 100
sleep 2
out 'Check if the plugin pods are running:'
command 'kubectl get pods -n intelfpgaplugin-system'
@ -94,8 +94,8 @@ screen3()
out 'Check if devices are programmed with NLB3:'
command 'cat /sys/class/*/*/*/afu_id'
out 'Run workload:'
command 'curl https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/master/demo/test-fpga-preprogrammed.yaml' 100
command 'kubectl create -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/master/demo/test-fpga-preprogrammed.yaml' 100
command 'curl https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/test-fpga-preprogrammed.yaml' 100
command 'kubectl create -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/test-fpga-preprogrammed.yaml' 100
sleep 5
out 'Look at the test output'
command 'kubectl logs test-fpga-preprogrammed'