Skip to content

Commit 27d9f67

Browse files
committed
Include instructions to temporarily create cluster from release-1.31
Signed-off-by: Kevin Klues <[email protected]>
1 parent 0e4fa99 commit 27d9f67

File tree

1 file changed

+84
-15
lines changed

1 file changed

+84
-15
lines changed

README.md

+84-15
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,15 @@ From here we will build the image for the example resource driver:
4545

4646
And create a `kind` cluster to run it in:
4747
```bash
48-
./demo/create-cluster.sh
48+
KUBE_GIT_VERSION=v1.30.0 BUILD_KIND_IMAGE=true KIND_K8S_TAG=v1.31.0-rc.1 ./demo/create-cluster.sh
4949
```
5050

51+
**Note**: The environment variables in the command above allow us to build a
52+
local node image against Kubernetes v1.31.0-rc.1. Once `kind` releases a node
53+
image for v1.31 these extra environment variables will no longer be needed. If
54+
you only plan on running tests for Kubernetes 1.30 then you can just use the
55+
latest `kind` image for v1.30 and omit these extra environment variables.
56+
5157
Once the cluster has been created successfully, double check everything is
5258
coming up as expected:
5359
```console
@@ -79,7 +85,6 @@ Double check the driver components have come up successfully:
7985
```console
8086
$ kubectl get pod -n dra-example-driver
8187
NAME READY STATUS RESTARTS AGE
82-
dra-example-driver-controller-7555d488db-nbd52 1/1 Running 0 1m
8388
dra-example-driver-kubeletplugin-qwmbl 1/1 Running 0 1m
8489
```
8590

@@ -91,18 +96,18 @@ items:
9196
- apiVersion: resource.k8s.io/v1alpha3
9297
kind: ResourceSlice
9398
metadata:
94-
creationTimestamp: "2024-07-13T01:10:56Z"
99+
creationTimestamp: "2024-07-16T13:00:06Z"
95100
generateName: dra-example-driver-cluster-worker-gpu.example.com-
96101
generation: 1
97-
name: dra-example-driver-cluster-worker-gpu.example.com-vkx6z
102+
name: dra-example-driver-cluster-worker-gpu.example.com-xhsqf
98103
ownerReferences:
99104
- apiVersion: v1
100105
controller: true
101106
kind: Node
102107
name: dra-example-driver-cluster-worker
103-
uid: fe806a5b-17a3-42d6-a9bc-fc8ad7609a1a
104-
resourceVersion: "523"
105-
uid: 7a61895f-f5d6-4679-a68c-7ae3c148c9cb
108+
uid: 8a18f216-bd77-426a-86b1-a989bdacc135
109+
resourceVersion: "854"
110+
uid: ea955e01-eaf0-45ed-8a36-1c56e4b8bced
106111
spec:
107112
driver: gpu.example.com
108113
nodeName: dra-example-driver-cluster-worker
@@ -113,44 +118,108 @@ items:
113118
devices:
114119
- basic:
115120
attributes:
121+
driverVersion:
122+
version: 1.0.0
123+
index:
124+
int: 0
116125
model:
117126
string: LATEST-GPU-MODEL
118-
name: gpu-e7b42cb1-4fd8-91b2-bc77-352a0c1f5747
127+
uuid:
128+
string: gpu-18db0e85-99e9-c746-8531-ffeb86328b39
129+
capacity:
130+
memory: 80Gi
131+
name: gpu-18db0e85-99e9-c746-8531-ffeb86328b39
119132
- basic:
120133
attributes:
134+
driverVersion:
135+
version: 1.0.0
136+
index:
137+
int: 1
121138
model:
122139
string: LATEST-GPU-MODEL
123-
name: gpu-f11773a1-5bfb-e48b-3d98-1beb5baaf08e
140+
uuid:
141+
string: gpu-93d37703-997c-c46f-a531-755e3e0dc2ac
142+
capacity:
143+
memory: 80Gi
144+
name: gpu-93d37703-997c-c46f-a531-755e3e0dc2ac
124145
- basic:
125146
attributes:
147+
driverVersion:
148+
version: 1.0.0
149+
index:
150+
int: 2
126151
model:
127152
string: LATEST-GPU-MODEL
128-
name: gpu-0159f35e-99ee-b2b5-74f1-9d18df3f22ac
153+
uuid:
154+
string: gpu-ee3e4b55-fcda-44b8-0605-64b7a9967744
155+
capacity:
156+
memory: 80Gi
157+
name: gpu-ee3e4b55-fcda-44b8-0605-64b7a9967744
129158
- basic:
130159
attributes:
160+
driverVersion:
161+
version: 1.0.0
162+
index:
163+
int: 3
131164
model:
132165
string: LATEST-GPU-MODEL
133-
name: gpu-657bd2e7-f5c2-a7f2-fbaa-0d1cdc32f81b
166+
uuid:
167+
string: gpu-9ede7e32-5825-a11b-fa3d-bab6d47e0243
168+
capacity:
169+
memory: 80Gi
170+
name: gpu-9ede7e32-5825-a11b-fa3d-bab6d47e0243
134171
- basic:
135172
attributes:
173+
driverVersion:
174+
version: 1.0.0
175+
index:
176+
int: 4
136177
model:
137178
string: LATEST-GPU-MODEL
138-
name: gpu-18db0e85-99e9-c746-8531-ffeb86328b39
179+
uuid:
180+
string: gpu-e7b42cb1-4fd8-91b2-bc77-352a0c1f5747
181+
capacity:
182+
memory: 80Gi
183+
name: gpu-e7b42cb1-4fd8-91b2-bc77-352a0c1f5747
139184
- basic:
140185
attributes:
186+
driverVersion:
187+
version: 1.0.0
188+
index:
189+
int: 5
141190
model:
142191
string: LATEST-GPU-MODEL
143-
name: gpu-93d37703-997c-c46f-a531-755e3e0dc2ac
192+
uuid:
193+
string: gpu-f11773a1-5bfb-e48b-3d98-1beb5baaf08e
194+
capacity:
195+
memory: 80Gi
196+
name: gpu-f11773a1-5bfb-e48b-3d98-1beb5baaf08e
144197
- basic:
145198
attributes:
199+
driverVersion:
200+
version: 1.0.0
201+
index:
202+
int: 6
146203
model:
147204
string: LATEST-GPU-MODEL
148-
name: gpu-ee3e4b55-fcda-44b8-0605-64b7a9967744
205+
uuid:
206+
string: gpu-0159f35e-99ee-b2b5-74f1-9d18df3f22ac
207+
capacity:
208+
memory: 80Gi
209+
name: gpu-0159f35e-99ee-b2b5-74f1-9d18df3f22ac
149210
- basic:
150211
attributes:
212+
driverVersion:
213+
version: 1.0.0
214+
index:
215+
int: 7
151216
model:
152217
string: LATEST-GPU-MODEL
153-
name: gpu-9ede7e32-5825-a11b-fa3d-bab6d47e0243
218+
uuid:
219+
string: gpu-657bd2e7-f5c2-a7f2-fbaa-0d1cdc32f81b
220+
capacity:
221+
memory: 80Gi
222+
name: gpu-657bd2e7-f5c2-a7f2-fbaa-0d1cdc32f81b
154223
kind: List
155224
metadata:
156225
resourceVersion: ""

0 commit comments

Comments
 (0)