Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

纯净centos7安装卡住了 #18

Open
bnnd opened this issue Apr 17, 2018 · 0 comments
Open

纯净centos7安装卡住了 #18

bnnd opened this issue Apr 17, 2018 · 0 comments

Comments

@bnnd
Copy link

bnnd commented Apr 17, 2018

终端显示:

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) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant