GithubHelp home page GithubHelp logo

kairen.github.io's Issues

Kubernetes 1.8.x 全手动安装教程 kubectl ISSUE

Hello kairen大神,

在下按照您的文档https://www.kubernetes.org.cn/3096.html 部署了两套K8S系统
一套是在vmware桥接安装的,一套是在vmware nat安装的
出问题的是nat的安装
kubectl get cs的时候报错:
Unable to connect to the server: Service Unavailable

查看/var/log/messages
Dec 1 13:22:21 master1 kubelet: W1201 13:22:21.287732 13990 cni.go:196] Unable to update cni config: No networks found in /etc/cni/net.d
Dec 1 13:22:21 master1 kubelet: E1201 13:22:21.287993 13990 kubelet.go:2095] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

既然没有CNI配置,那么我就先安装Calico Network(桥接的方式安装的时候没有报错,CALICO绑定到了NAT的网卡上ENS33)
在master1上安装完Calico Network,继续运行kubectl get cs还是报同样的错误
查看/var/log/messages
Dec 1 16:41:04 master1 systemd: Started calico node.
Dec 1 16:41:04 master1 systemd: Starting calico node...
Dec 1 16:41:04 master1 dockerd: time="2017-12-01T16:41:04+08:00" level=info msg
="shim docker-containerd-shim started" address="/containerd-shim/moby/68010b5c60
93de8d43b9370f8e454cd8589a67a0c992198afa0a69b1f19df0bb/shim.sock" debug=false mo
dule="containerd/tasks" pid=11415
Dec 1 16:41:05 master1 docker: Skipping datastore connection test
Dec 1 16:41:05 master1 docker: 2017-12-01 08:41:05.348043 I | warning: ignoring
ServerName for user-provided CA for backwards compatibility is deprecated
Dec 1 16:41:05 master1 docker: WARNING: Unable to auto-detect an IPv4 address u
sing interface regexes [enp0s8]: no valid host interfaces found
Dec 1 16:41:05 master1 docker: ERROR: Couldn't autodetect a management IPv4 add
ress:
Dec 1 16:41:05 master1 docker: - provide an IPv4 address by configuring one in
the node resource, or
Dec 1 16:41:05 master1 docker: - provide an IPv4 address using the IP environm
ent, or
Dec 1 16:41:05 master1 docker: - if auto-detecting, use a different autodetect
ion method.
Dec 1 16:41:05 master1 docker: Terminating
Dec 1 16:41:05 master1 docker: Calico node failed to start
Dec 1 16:41:05 master1 dockerd: time="2017-12-01T16:41:05.510797849+08:00" leve
l=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/del
ete type="*events.TaskDelete"
Dec 1 16:41:05 master1 dockerd: time="2017-12-01T16:41:05+08:00" level=info msg
="shim reaped" id=68010b5c6093de8d43b9370f8e454cd8589a67a0c992198afa0a69b1f19df0
bb module="containerd/tasks"
Dec 1 16:41:05 master1 systemd: calico-node.service: main process exited, code=
exited, status=1/FAILURE

Regod

Worked four runs then w/blue I'd my entire sys---- fick

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.