kubesphere / kubesphere/website

Failed to excute the command ./kk add nodes -f sample.yaml

Open
#1,906 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
97
Forks
418
PR merge metrics
No merged PRs in 30d

Description

INFO[22:47:37 CST] Installing docker ...
INFO[22:47:37 CST] Start to download images on all nodes
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.2
[k8s-master] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/etcd:v3.4.13
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.2
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/kube-proxy:v1.20.4
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/kube-proxy:v1.20.4
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/coredns:1.6.9
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/coredns:1.6.9
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/k8s-dns-node-cache:1.15.12
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/k8s-dns-node-cache:1.15.12
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/kube-controllers:v3.16.3
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/kube-controllers:v3.16.3
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/cni:v3.16.3
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/cni:v3.16.3
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/node:v3.16.3
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/node:v3.16.3
[k8s-node1] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pod2daemon-flexvol:v3.16.3
[k8s-node2] Downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pod2daemon-flexvol:v3.16.3
ERRO[22:48:09 CST] Failed to download image: registry.cn-beijing.aliyuncs.com/kubesphereio/etcd:v3.4.13: Failed to exec command: sudo env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/etcd:v3.4.13
Error response from daemon: Get https://registry.cn-beijing.aliyuncs.com/v2/: dial tcp: lookup registry.cn-beijing.aliyuncs.com on [::1]:53: read udp [::1]:59545->[::1]:53: read: connection refused: Process exited with status 1 node=192.168.1.10
WARN[22:48:09 CST] Task failed ...
WARN[22:48:09 CST] error: interrupted by error
Error: Failed to pre-pull images: interrupted by error
Usage:
kk add nodes [flags]

Flags:
--download-cmd string The user defined command to download the necessary binary files. The first param '%s' is output path, the second param '%s', is the URL (default "curl -L -o %s %s")
-f, --filename string Path to a configuration file
-h, --help help for nodes
--skip-pull-images Skip pre pull images
-y, --yes Skip pre-check of the installation

Global Flags:
--debug Print detailed information (default true)
--in-cluster Running inside the cluster

Failed to pre-pull images: interrupted by error

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing ./kk add nodes -f sample.yaml and inspect the pre-pull-images step for node 192.168.1.10. The report identifies a Docker registry DNS connection failure but names no repository file or test; done would require a confirmed fix or documented resolution for the failed image download.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.