cat <<EOF > /tmp/config.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
containerdConfigPatches:
- |-
version = 2
[plugins."io.containerd.grpc.v1.cri".registry]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."10.121.218.184:30002"]
endpoint = ["http://10.121.218.184:30002"]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."quay.io"]
endpoint = ["http://10.121.218.184:30002/v2/quay.io"]
[plugins."io.containerd.grpc.v1.cri".registry.configs."10.121.218.184:30002".tls]
insecure_skip_verify = true
[plugins."io.containerd.grpc.v1.cri".registry.configs]
[plugins."io.containerd.grpc.v1.cri".registry.configs."10.121.218.184:30002".auth]
username = "robot_readonly"
password = 'npcCnfZicoeZTupZnX39ew9cfIvldyZV'
EOF
kind create cluster --image 10.121.218.184:30002/cache/kindest/node:v1.25.3 --config /tmp/config.yaml
-
Notifications
You must be signed in to change notification settings - Fork 0
devops-ws/kind-guide
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published