Giter Site home page Giter Site logo

Comments (2)

maguowei avatar maguowei commented on July 29, 2024
  • OS:Mac
    使用这个方法安装k8s,启动k8s后,任何一个容器都不能映射到2379端口,lsof查看2379没有被占用,只有docker无法映射到2379端口,提示错误error starting userland proxy: listen tcp 0.0.0.0:2379: bind: address already in use.

是在Mac上的虚拟机中安装的么?请提供更多细节
@karldoenitz

from gotok8s.

karldoenitz avatar karldoenitz commented on July 29, 2024

使用的Mac的docker-desktop版本安装的。具体信息如下:

  • OS: Mac 10.15.4
  • Docker version: 19.03.8
    安装k8s-dashboard的命令:
    kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended.yaml
    然后查看本地的docker容器:
    image
    其中centos7etcd要占用2379端口,启动失败,提示:
% docker start 770ed3fa7573
Error response from daemon: driver failed programming external connectivity on endpoint centos7etcd (5a43f85a60064085b6d170d84d06b4fdb4f89fd975ff794ad8b4f778fa701f70): Error starting userland proxy: listen tcp 0.0.0.0:2379: bind: address already in use
Error: failed to start containers: 770ed3fa7573

但是我本地并没有占用2379端口的服务
image
进入k8s-dashboard,发现只有一个容器在占用2379端口,即etcd-docker-desktop:
image
image
但是这个服务并没有对外暴露端口,为什么其他的容器不能对外暴露2379端口?
@maguowei

from gotok8s.

Related Issues (20)

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.