`Continue this installation? [yes/no]: yes
INFO[14:16:08 CEST] Downloading Installation Files
INFO[14:16:08 CEST] Downloading kubeadm …
INFO[14:16:08 CEST] Downloading kubelet …
INFO[14:16:10 CEST] Downloading kubectl …
INFO[14:16:11 CEST] Downloading helm …
INFO[14:16:11 CEST] Downloading kubecni …
INFO[14:16:12 CEST] Configuring operating system …
[ciptechnology.co.uk 116.12.50.219] MSG:
net.ipv4.ip_forward = 1
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
vm.max_map_count = 262144
vm.swappiness = 1
fs.inotify.max_user_instances = 524288
INFO[14:16:17 CEST] Installing docker …
INFO[14:16:18 CEST] Start to download images on all nodes
[ciptechnology.co.uk] Downloading image: kubesphere/etcd:v3.4.13
[ciptechnology.co.uk] Downloading image: kubesphere/pause:3.2
[ciptechnology.co.uk] Downloading image: kubesphere/kube-apiserver:v1.20.4
[ciptechnology.co.uk] Downloading image: kubesphere/kube-controller-manager:v1.20.4
[ciptechnology.co.uk] Downloading image: kubesphere/kube-scheduler:v1.20.4
[ciptechnology.co.uk] Downloading image: kubesphere/kube-proxy:v1.20.4
[ciptechnology.co.uk] Downloading image: coredns/coredns:1.6.9
[ciptechnology.co.uk] Downloading image: kubesphere/k8s-dns-node-cache:1.15.12
[ciptechnology.co.uk] Downloading image: calico/kube-controllers:v3.16.3
[ciptechnology.co.uk] Downloading image: calico/cni:v3.16.3
[ciptechnology.co.uk] Downloading image: calico/node:v3.16.3
[ciptechnology.co.uk] Downloading image: calico/pod2daemon-flexvol:v3.16.3
INFO[14:17:03 CEST] Generating etcd certs
INFO[14:17:04 CEST] Synchronizing etcd certs
INFO[14:17:04 CEST] Creating etcd service
[ciptechnology.co.uk 116.12.50.219] MSG:
etcd will be installed
INFO[14:17:07 CEST] Starting etcd cluster
[ciptechnology.co.uk 116.12.50.219] MSG:
Configuration file will be created
INFO[14:17:08 CEST] Refreshing etcd configuration
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
Waiting for etcd to start
ERRO[14:18:48 CEST] Failed to start etcd cluster: Failed to exec command: sudo -E /bin/sh -c “export ETCDCTL_API=2;export ETCDCTL_CERT_FILE=‘/etc/ssl/etcd/ssl/admin-ciptechnology.co.uk.pem’;export ETCDCTL_KEY_FILE=‘/etc/ssl/etcd/ssl/admin-ciptechnology.co.uk-key.pem’;export ETCDCTL_CA_FILE=‘/etc/ssl/etcd/ssl/ca.pem’;/usr/local/bin/etcdctl –endpoints=https://116.12.50.219:2379 cluster-health | grep -q ‘cluster is healthy’”
Error: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 116.12.50.219:2379: connect: connection refused
error #0: dial tcp 116.12.50.219:2379: connect: connection refused: Process exited with status 1 node=116.12.50.219
WARN[14:18:48 CEST] Task failed …
WARN[14:18:48 CEST] error: interrupted by error
Error: Failed to refresh etcd configuration: interrupted by error
Usage:
kk create cluster [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 cluster
–skip-pull-images Skip pre pull images
–with-kubernetes string Specify a supported version of kubernetes (default “v1.19.8”)
–with-kubesphere Deploy a specific version of kubesphere (default v3.1.0)
–with-local-storage Deploy a local PV provisioner
-y, –yes Skip pre-check of the installation
Global Flags:
–debug Print detailed information (default true)
–in-cluster Running inside the cluster
Failed to refresh etcd configuration: interrupted by error
root@ciptechnology:~# ufw status verbose
Status: inactive
`