Skip to content

Commit 2cf5d94

Browse files
committed
demo: update SGX screencast script
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
1 parent 8d7b41d commit 2cf5d94

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

demo/screencast-sgx.sh

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cleanup()
2828
out 'delete node-feature-discovery deployment:' 20
2929
command 'kubectl delete -k https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/sgx_nfd?ref=main || true' 20
3030
out 'delete SGX Device Plugin deployment:' 20
31-
command 'kubectl delete sgxdeviceplugin sgxdeviceplugin-sample -n sgx-ecdsa-quote || true' 20
31+
command 'kubectl delete sgxdeviceplugin sgxdeviceplugin-sample || true' 20
3232
out 'delete Intel Device Plugin Operator deployment:' 20
3333
command 'kubectl delete -k https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/operator/default?ref=main || true' 20
3434
out "delete the demo namespace"
@@ -48,7 +48,7 @@ screen1()
4848
out "This video demonstrates the Intel(R) Software Guard Extensions ECDSA Quote Generation in Kubernetes*"
4949
out "The key building blocks are:"
5050
out "* Intel(R) Software Guard Extensions (SGX) Flexible Launch Control capable system (registered)"
51-
out "* Intel(R) SGX driver (RFC v41) for the host kernel"
51+
out "* Intel(R) SGX driver (Linux 5.11+) for the host kernel"
5252
out "* Intel(R) SGX PCKID Certificate Caching Service configured"
5353
out "Let's get started!"
5454
}
@@ -61,11 +61,6 @@ screen2()
6161
command "kubectl get pods --all-namespaces"
6262
out "Create the demo namespace"
6363
command "kubectl create ns sgx-ecdsa-quote"
64-
out "Pull :devel images and tag them as :0.19.0 (temporary until the release is out)"
65-
command "sudo ctr -n k8s.io i pull docker.io/intel/intel-sgx-plugin:devel"
66-
command "sudo ctr -n k8s.io i pull docker.io/intel/intel-sgx-initcontainer:devel"
67-
command "sudo ctr -n k8s.io i tag docker.io/intel/intel-sgx-plugin:devel docker.io/intel/intel-sgx-plugin:0.19.0"
68-
command "sudo ctr -n k8s.io i tag docker.io/intel/intel-sgx-initcontainer:devel docker.io/intel/intel-sgx-initcontainer:0.19.0"
6964
}
7065

7166
screen3()
@@ -84,9 +79,9 @@ screen4()
8479
out "3. Deploy Intel Device Plugin Operator"
8580
command "kubectl apply -k https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/operator/default?ref=main"
8681
out "Create SgxDevicePlugin custom resource managed by the Operator"
87-
command "kubectl apply -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/deployments/operator/samples/deviceplugin_v1_sgxdeviceplugin.yaml -n sgx-ecdsa-quote"
82+
command "kubectl apply -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/deployments/operator/samples/deviceplugin_v1_sgxdeviceplugin.yaml"
8883
out "Check the SGX Device Plugin is running"
89-
command "kubectl get pods -n sgx-ecdsa-quote"
84+
command "kubectl get pods -n inteldeviceplugins-system"
9085
}
9186

9287
screen5()

0 commit comments

Comments
 (0)