Git Product home page Git Product logo

Comments (5)

paderlol avatar paderlol commented on August 22, 2024

使用1.12

from nacos-k8s.

xiaobailalala avatar xiaobailalala commented on August 22, 2024

使用1.12

我尝试一下

from nacos-k8s.

xiaobailalala avatar xiaobailalala commented on August 22, 2024

使用1.12
您好,我将k8s的版本换成了1.12.7的版本,但是还是一样的问题,leader无法选举。
这是我k8s各组件的版本
mirrorgooglecontainers/kube-proxy-amd64 v1.12.7
gcr.io/google_containers/kube-proxy-amd64 v1.12.7
gcr.io/google_containers/kube-apiserver-amd64 v1.12.7
gcr.io/google_containers/kube-controller-manager-amd64 v1.12.7
gcr.io/google_containers/kube-scheduler-amd64 v1.12.7
gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64 1.14.5
gcr.io/google_containers/k8s-dns-kube-dns-amd64 1.14.5
gcr.io/google_containers/k8s-dns-sidecar-amd64 1.14.5
gcr.io/google_containers/pause-amd64 3.0
gcr.io/google_containers/etcd-amd64 3.0.17

from nacos-k8s.

paderlol avatar paderlol commented on August 22, 2024

首先确定你的node节点互相能通讯,然后看一下本地获取的地址是不是不对,最后可以尝试下把clusterIp设置为none

from nacos-k8s.

xiaobailalala avatar xiaobailalala commented on August 22, 2024

首先确定你的node节点互相能通讯,然后看一下本地获取的地址是不是不对,最后可以尝试下把clusterIp设置为none

非常感谢,将clustrerIP改成none之后leader能够成功选举了,之前的问题可能是由于k8s版本问题造成的,我的kube-dns的版本是1.14的,在此之前在node中无法通过dns访问其他node。clusterIP改成none之后完美解决问题

from nacos-k8s.

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.