@@ -76,45 +76,45 @@ node1
76
76
77
77
## Testing and Demos
78
78
79
- We can test the plugin is working by deploying the provided example iaa-qpl -demo test image.
79
+ We can test the plugin is working by deploying the provided example accel-config -demo test image.
80
80
81
81
1 . Build a Docker image with an accel-config tests:
82
82
83
83
``` bash
84
- $ make iaa-qpl -demo
84
+ $ make accel-config -demo
85
85
...
86
- Successfully tagged intel/iaa-qpl -demo:devel
86
+ Successfully tagged intel/accel-config -demo:devel
87
87
```
88
88
89
89
1. Create a pod running unit tests off the local Docker image:
90
90
91
91
` ` ` bash
92
- $ kubectl apply -f ./demo/iaa-qpl -demo-pod.yaml
93
- pod/iaa-qpl -demo created
92
+ $ kubectl apply -f ./demo/iaa-accel-config -demo-pod.yaml
93
+ pod/iaa-accel-config -demo created
94
94
` ` `
95
95
96
96
1. Wait until pod is completed:
97
97
98
98
` ` ` bash
99
- $ kubectl get pods | grep iaa-qpl -demo
100
- iaa-qpl -demo 0/1 Completed 0 31m
99
+ $ kubectl get pods | grep iaa-accel-config -demo
100
+ iaa-accel-config -demo 0/1 Completed 0 31m
101
101
102
102
If the pod did not successfully launch, possibly because it could not obtain the IAA
103
103
resource, it will be stuck in the ` Pending` status:
104
104
105
105
` ` ` bash
106
106
$ kubectl get pods
107
107
NAME READY STATUS RESTARTS AGE
108
- iaa-qpl- demo 0/1 Pending 0 7s
108
+ iaa-accel-config- demo 0/1 Pending 0 7s
109
109
` ` `
110
110
111
111
This can be verified by checking the Events of the pod:
112
112
113
113
` ` ` bash
114
114
115
- $ kubectl describe pod iaa-qpl -demo | grep -A3 Events:
115
+ $ kubectl describe pod iaa-accel-config -demo | grep -A3 Events:
116
116
Events:
117
117
Type Reason Age From Message
118
118
---- ------ ---- ---- -------
119
- Warning FailedScheduling 2m26s default-scheduler 0/1 nodes are available: 1 Insufficient iaa.intel.com/wq-user-dedicated, 1 Insufficient iaa.intel.com/wq-user-shared .
119
+ Warning FailedScheduling 2m26s default-scheduler 0/1 nodes are available: 1 Insufficient iaa.intel.com/wq-user-dedicated.
120
120
` ` `
0 commit comments