Skip to content

devops-ws/kind-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

kind-guide

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

Releases

No releases published

Packages

No packages published