INFO[02:16:22 CST] Downloading Installation Files
INFO[02:16:22 CST] Downloading kubeadm …
INFO[02:16:59 CST] Downloading kubelet …
INFO[02:18:45 CST] Downloading kubectl …
INFO[02:19:24 CST] Downloading helm …
INFO[02:20:00 CST] Downloading kubecni …
INFO[02:20:33 CST] Configurating operating system …
[kubesphere 10.206.0.9] MSG:
net.ipv4.ip_forward = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
net.ipv4.conf.all.promote_secondaries = 1
net.ipv4.conf.default.promote_secondaries = 1
net.ipv6.neigh.default.gc_thresh3 = 4096
net.ipv4.neigh.default.gc_thresh3 = 4096
kernel.softlockup_panic = 1
kernel.sysrq = 1
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
kernel.shmmax = 68719476736
kernel.printk = 5
net.bridge.bridge-nf-call-arptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_local_reserved_ports = 30000-32767
INFO[02:20:34 CST] Installing docker …
ERRO[02:20:58 CST] Failed to install docker:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12886 100 12886 0 0 69279 0 –:–:– –:–:– –:–:– 69279
20.10.5
Warning: the “docker” command appears to already exist on this system.
If you already have Docker installed, this script can cause trouble, which is
why we’re displaying this warning and exit the
installation.
- sleep 20
- ‘[’ centos = redhat ‘]’
- sh -c ‘yum install -y -q yum-utils’
- sh -c ‘yum-config-manager –add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo’
Adding repo from: https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
- ‘[’ '‘ ’!=‘ stable ’]'
- echo ‘Info: Enabling channel ’\''‘\’‘ for docker-ce repo’
Info: Enabling channel '' for docker-ce repo
- sh -c ‘yum-config-manager –enable docker-ce-’
Error: No matching repo to modify: docker-ce-.: Failed to exec command: sudo -E /bin/sh -c “if [ -z $(which docker) ] || [ ! -e /var/run/docker.sock ]; then curl https://kubernetes.pek3b.qingstor.com/tools/kubekey/docker-install.sh | sh && systemctl enable docker && echo ewogICJsb2ctb3B0cyI6IHsKICAgICJtYXgtc2l6ZSI6ICI1bSIsCiAgICAibWF4LWZpbGUiOiIzIgogIH0sCiAgImV4ZWMtb3B0cyI6IFsibmF0aXZlLmNncm91cGRyaXZlcj1zeXN0ZW1kIl0KfQo= | base64 -d > /etc/docker/daemon.json && systemctl reload docker && systemctl restart docker; fi”
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12886 100 12886 0 0 69279 0 –:–:– –:–:– –:–:– 69279
20.10.5
Warning: the “docker” command appears to already exist on this system.
If you already have Docker installed, this script can cause trouble, which is
why we’re displaying this warning and exit the
installation.
- sleep 20
- ‘[’ centos = redhat ‘]’
- sh -c ‘yum install -y -q yum-utils’
- sh -c ‘yum-config-manager –add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo’
Adding repo from: https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
- ‘[’ '‘ ’!=‘ stable ’]'
- echo ‘Info: Enabling channel ’\''‘\’‘ for docker-ce repo’
Info: Enabling channel '' for docker-ce repo
- sh -c ‘yum-config-manager –enable docker-ce-’
Error: No matching repo to modify: docker-ce-.: Process exited with status 1 node=10.206.0.9
WARN[02:20:58 CST] Task failed …
WARN[02:20:58 CST] error: interrupted by error
Error: Failed to install docker: interrupted by error
Usage:
kk create cluster [flags]
Flags:
-f, –filename string Path to a configuration file
-h, –help help for cluster
–skip-pull-images Skip pre pull images
–with-kubernetes string Specify a supported version of kubernetes
–with-kubesphere Deploy a specific version of kubesphere (default v3.0.0)
-y, –yes Skip pre-check of the installation
Global Flags:
–debug Print detailed information (default true)
Failed to install docker: interrupted by error