okdc icon indicating copy to clipboard operation
okdc copied to clipboard

纯净centos7安装卡住了

Open bnnd opened this issue 8 years ago • 0 comments

终端显示:

Installed:
  docker.x86_64 2:1.13.1-53.git774336d.el7.centos                kubeadm.x86_64 0:1.7.0-0                kubectl.x86_64 0:1.10.0-0                kubelet.x86_64 0:1.10.0-0                kubernetes-cni.x86_64 0:0.6.0-0               

Dependency Installed:
  audit-libs-python.x86_64 0:2.7.6-3.el7                     checkpolicy.x86_64 0:2.5-4.el7                             container-selinux.noarch 2:2.42-1.gitad8f0f7.el7      container-storage-setup.noarch 0:0.8.0-3.git1d27ecf.el7    
  docker-client.x86_64 2:1.13.1-53.git774336d.el7.centos     docker-common.x86_64 2:1.13.1-53.git774336d.el7.centos     libcgroup.x86_64 0:0.41-13.el7                        libseccomp.x86_64 0:2.3.1-3.el7                            
  libsemanage-python.x86_64 0:2.5-8.el7                      oci-register-machine.x86_64 1:0-6.git2b44233.el7           oci-systemd-hook.x86_64 1:0.1.15-2.gitc04483d.el7     oci-umount.x86_64 2:2.3.3-3.gite3c9055.el7                 
  policycoreutils-python.x86_64 0:2.5-17.1.el7               python-IPy.noarch 0:0.75-6.el7                             setools-libs.x86_64 0:3.3.8-1.1.el7                   skopeo-containers.x86_64 1:0.1.28-1.git0270e56.el7         
  socat.x86_64 0:1.7.3.2-2.el7                               yajl.x86_64 0:2.0.4-4.el7                                 

Complete!
Failed to detect private ip. Will let kubeadm decide which ip to advertise.
Docker registry mirror, ex. Aliyun accelerator? (default: https://docker.mirrors.ustc.edu.cn) 
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /etc/systemd/system/kubelet.service.
[kubeadm] WARNING: kubeadm is in beta, please do not use it for production clusters.
[init] Using Kubernetes version: v1.7.0
[init] Using Authorization modes: [Node RBAC]
[preflight] Skipping pre-flight checks
[certificates] Generated CA certificate and key.
[certificates] Generated API server certificate and key.
[certificates] API Server serving cert is signed for DNS names [localhost.localdomain kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 192.168.1.176]
[certificates] Generated API server kubelet client certificate and key.
[certificates] Generated service account token signing key and public key.
[certificates] Generated front-proxy CA certificate and key.
[certificates] Generated front-proxy client certificate and key.
[certificates] Valid certificates and keys now exist in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/kubelet.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/controller-manager.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/scheduler.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/admin.conf"
[apiclient] Created API client, waiting for the control plane to become ready

log:

Apr 17 15:14:05 localhost kubelet: F0417 15:14:05.470340   13029 server.go:145] unknown flag: --require-kubeconfig
Apr 17 15:14:05 localhost systemd: kubelet.service: main process exited, code=exited, status=255/n/a
Apr 17 15:14:05 localhost systemd: Unit kubelet.service entered failed state.
Apr 17 15:14:05 localhost systemd: kubelet.service failed.

系统版本

CentOS Linux release 7.4.1708 (Core) 

bnnd avatar Apr 17 '18 07:04 bnnd