Feynman 你好,我在使用kubekey安装3.0
./kk create cluster –with-kubernetes v1.17.6 –with-kubesphere v3.0.0
安装成功了
`
[root@worker3 kubekey]# ./kk create cluster –with-kubernetes v1.17.6 –with-kubesphere v3.0.0
+————-+——+——+———+———-+——-+——-+———–+——–+————+————-+——————+————–+
| name | sudo | curl | openssl | ebtables | socat | ipset | conntrack | docker | nfs client | ceph client | glusterfs client | time |
+————-+——+——+———+———-+——-+——-+———–+——–+————+————-+——————+————–+
| ks-allinone | y | y | y | y | y | y | y | y | y | y | | CST 16:10:55 |
+————-+——+——+———+———-+——-+——-+———–+——–+————+————-+——————+————–+
This is a simple check of your environment.
Before installation, you should ensure that your machines meet all requirements specified at
https://github.com/kubesphere/kubekey#requirements-and-recommendations
Continue this installation? [yes/no]: yes
INFO[16:12:15 CST] Downloading Installation Files
INFO[16:12:15 CST] Downloading kubeadm …
INFO[16:12:15 CST] Downloading kubelet …
INFO[16:12:16 CST] Downloading kubectl …
INFO[16:12:16 CST] Downloading kubecni …
INFO[16:12:16 CST] Downloading helm …
INFO[16:12:16 CST] Configurating operating system …
[ks-allinone 192.168.0.8] 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
INFO[16:12:17 CST] Installing docker …
INFO[16:12:20 CST] Start to download images on all nodes
[ks-allinone] Downloading image: kubesphere/etcd:v3.3.12
[ks-allinone] Downloading image: kubesphere/pause:3.1
[ks-allinone] Downloading image: kubesphere/kube-apiserver:v1.17.8
[ks-allinone] Downloading image: kubesphere/kube-controller-manager:v1.17.8
[ks-allinone] Downloading image: kubesphere/kube-scheduler:v1.17.8
[ks-allinone] Downloading image: kubesphere/kube-proxy:v1.17.8
[ks-allinone 192.168.0.8] Retrying …
[ks-allinone] Downloading image: coredns/coredns:1.6.0
[ks-allinone] Downloading image: kubesphere/k8s-dns-node-cache:1.15.12
[ks-allinone] Downloading image: calico/kube-controllers:v3.14.1
[ks-allinone] Downloading image: calico/cni:v3.14.1
[ks-allinone] Downloading image: calico/node:v3.14.1
[ks-allinone] Downloading image: calico/pod2daemon-flexvol:v3.14.1
INFO[16:14:10 CST] Generating etcd certs
INFO[16:14:11 CST] Synchronizing etcd certs
INFO[16:14:11 CST] Creating etcd service
INFO[16:14:16 CST] Starting etcd cluster
[ks-allinone 192.168.0.8] MSG:
Configuration file already exists
Waiting for etcd to start
INFO[16:14:22 CST] Refreshing etcd configuration
INFO[16:14:22 CST] Get cluster status
[ks-allinone 192.168.0.8] MSG:
Cluster already exists.
[ks-allinone 192.168.0.8] MSG:
v1.17.8
[ks-allinone 192.168.0.8] MSG:
I0714 16:14:25.117452 30647 version.go:251] remote version is much newer: v1.18.5; falling back to: stable-1.17
W0714 16:14:25.902508 30647 validation.go:28] Cannot validate kube-proxy config - no validator is available
W0714 16:14:25.902564 30647 validation.go:28] Cannot validate kubelet config - no validator is available
[upload-certs] Storing the certificates in Secret “kubeadm-certs” in the “kube-system” Namespace
[upload-certs] Using certificate key:
7491ad6e4ff00f070f520d25d02460f4c42d7b3207a3dc7b90638a6e67a48992
[ks-allinone 192.168.0.8] MSG:
secret/kubeadm-certs patched
[ks-allinone 192.168.0.8] MSG:
secret/kubeadm-certs patched
[ks-allinone 192.168.0.8] MSG:
secret/kubeadm-certs patched
[ks-allinone 192.168.0.8] MSG:
W0714 16:14:27.374350 31093 validation.go:28] Cannot validate kube-proxy config - no validator is available
W0714 16:14:27.374466 31093 validation.go:28] Cannot validate kubelet config - no validator is available
kubeadm join lb.kubesphere.local:6443 –token 26uljy.40prrq1kdv262peg –discovery-token-ca-cert-hash sha256:a548633e8bda1461eb871552d8cc5e371a74768f21bb5158e4da556ba7ce2713
[ks-allinone 192.168.0.8] MSG:
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ks-allinone Ready master,worker 72m v1.17.8 192.168.0.8 <none> CentOS Linux 7 (Core) 3.10.0-1062.18.1.el7.x86_64 docker://19.3.12
INFO[16:14:27 CST] Installing kube binaries
INFO[16:14:27 CST] Initializing kubernetes cluster
INFO[16:14:27 CST] Deploying network plugin …
[ks-allinone 192.168.0.8] MSG:
configmap/calico-config unchanged
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/felixconfigurations.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/globalnetworkpolicies.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/globalnetworksets.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/hostendpoints.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/ipamblocks.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/ipamconfigs.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/ipamhandles.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/ippools.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/kubecontrollersconfigurations.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/networkpolicies.crd.projectcalico.org unchanged
customresourcedefinition.apiextensions.k8s.io/networksets.crd.projectcalico.org unchanged
clusterrole.rbac.authorization.k8s.io/calico-kube-controllers unchanged
clusterrolebinding.rbac.authorization.k8s.io/calico-kube-controllers unchanged
clusterrole.rbac.authorization.k8s.io/calico-node unchanged
clusterrolebinding.rbac.authorization.k8s.io/calico-node unchanged
daemonset.apps/calico-node configured
serviceaccount/calico-node unchanged
deployment.apps/calico-kube-controllers unchanged
serviceaccount/calico-kube-controllers unchanged
INFO[16:14:28 CST] Joining nodes to cluster
INFO[16:14:28 CST] Start to download images on all nodes (storage)
INFO[16:14:28 CST] Deploying storage plugin …
INFO[16:14:32 CST] Congradulations! Installation is successful.
[root@worker3 kubekey]#
`
但是目前直接访问服务器ip,没有返回,请问什么情况呢?