1
test/kind.sh
Normal file
1
test/kind.sh
Normal file
@@ -0,0 +1 @@
|
||||
kind create cluster --config=kind.yaml
|
||||
18
test/kind.yaml
Normal file
18
test/kind.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
nodes:
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.29.0
|
||||
extraMounts:
|
||||
- hostPath: /root/workspace/csi-driver-webdav/test/csi
|
||||
containerPath: /csi
|
||||
networking:
|
||||
apiServerPort: 6443
|
||||
podSubnet: 172.16.0.0/16
|
||||
serviceSubnet: 172.19.0.0/16
|
||||
containerdConfigPatches:
|
||||
- |-
|
||||
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
|
||||
endpoint = ["https://hub-mirror.c.163.com"]
|
||||
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5000"]
|
||||
endpoint = ["http://registry:5000"]
|
||||
Reference in New Issue
Block a user