@@ -10,15 +10,19 @@ After provisioning Intel hardware features on RHOCP, the respective hardware res
10
10
### Verify Intel® Software Guard Extensions (Intel® SGX) Provisioning
11
11
This [ SampleEnclave] ( https://github.com/intel/linux-sgx/tree/master/SampleCode/SampleEnclave ) application workload from the Intel SGX SDK runs an Intel SGX enclave utilizing the EPC resource from the Intel SGX provisioning.
12
12
* Build the container image.
13
-
14
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_build.yaml ```
13
+ ```
14
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_build.yaml
15
+ ```
15
16
16
17
* Deploy and run the workload.
17
18
18
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_job.yaml ```
19
+ ```
20
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_job.yaml
21
+ ```
19
22
20
23
* Check the results.
21
- ``` $ oc get pods
24
+ ```
25
+ $ oc get pods
22
26
intel-sgx-job-4tnh5 0/1 Completed 0 2m10s
23
27
intel-sgx-workload-1-build 0/1 Completed 0 30s
24
28
```
@@ -36,11 +40,15 @@ This workload runs [clinfo](https://github.com/Oblomov/clinfo) utilizing the i91
36
40
37
41
* Build the workload container image.
38
42
39
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_build.yaml ```
43
+ ```
44
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_build.yaml
45
+ ```
40
46
41
47
* Deploy and execute the workload.
42
48
43
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_job.yaml ```
49
+ ```
50
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/clinfo_job.yaml
51
+ ```
44
52
45
53
* Check the results.
46
54
```
@@ -73,11 +81,15 @@ This workload runs ```hwinfo``` utilizing the i915 resource from GPU provisionin
73
81
74
82
* Build the workload container image.
75
83
76
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_build.yaml ```
84
+ ```
85
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_build.yaml
86
+ ```
77
87
78
88
* Deploy and execute the workload.
79
89
80
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_job.yaml ```
90
+ ```
91
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_job.yaml
92
+ ```
81
93
82
94
* Check the results
83
95
```
@@ -117,19 +129,27 @@ This workload runs [qatlib](https://github.com/intel/qatlib) sample tests using
117
129
118
130
Please replace the credentials in buildconfig yaml with your RedHat account login credentials.
119
131
120
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_build.yaml ```
132
+ ```
133
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_build.yaml
134
+ ```
121
135
122
136
* Create SCC intel-qat-scc for Intel QAT based workload, if this SCC is not created
123
137
124
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_scc.yaml ```
138
+ ```
139
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_scc.yaml
140
+ ```
125
141
126
142
* Create the intel-qat service account to use intel-qat-scc
127
143
128
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_rbac.yaml ```
144
+ ```
145
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/security/qatlib_rbac.yaml
146
+ ```
129
147
130
148
* Deploy the qatlib workload job with intel-qat service account
131
149
132
- ``` $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_job.yaml ```
150
+ ```
151
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/qat/qatlib_job.yaml
152
+ ```
133
153
134
154
* Check the results.
135
155
```
0 commit comments