Skip to content

Commit

Permalink
A Kubernetes cluster was created with Kind customized for GPUs.
Browse files Browse the repository at this point in the history
reference:
- jacobtomlinson/kind#1
- https://jacobtomlinson.dev/posts/2022/quick-hack-adding-gpu-support-to-kind/

Creating log:

$ ../kind/bin/kind create cluster --config kind-gpu.yml
Creating cluster "gpu-test" ...
 ✓ Ensuring node image (kindest/node:v1.23.1) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹️
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-gpu-test"
You can now use your cluster with:

kubectl cluster-info --context kind-gpu-test

Have a nice day! 👋
  • Loading branch information
oshanQQ committed Dec 26, 2022
1 parent 1758d1a commit 6e01b78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kind-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: gpu-test
nodes:
- role: control-plane
gpus: True

0 comments on commit 6e01b78

Please sign in to comment.