GithubHelp home page GithubHelp logo

Comments (2)

cby-chen avatar cby-chen commented on June 4, 2024

2.2.3 在master01 上执行,get node 也在master01执行

from kubernetes.

catman002 avatar catman002 commented on June 4, 2024

v1.24.1-Ubuntu-binary-install-IPv6-IPv4-Three-Masters-Two-Slaves

5.1.7测试高可用

这一步我将主节点01重启机器后 通了

8.2.3启动kubelet 这里出现了两个问题 root@k8s-master01:/etc/kubernetes# kubectl get node NAME STATUS ROLES AGE VERSION k8s-master01 Ready 7m44s v1.24.1 这里只有一个 node 然后我去k8s-master02提示The connection to the server localhost:8080 was refused - did you specify the right host or port? root@k8s-master02:~# kubectl get node The connection to the server localhost:8080 was refused - did you specify the right host or port?

root@k8s-node01:~# kubectl get node Command 'kubectl' not found, but can be installed with: snap install kubectl

2.2.3将组件发送至其他k8s节点

for NODE in $Work; do scp /usr/local/bin/kube{let,-proxy} $NODE:/usr/local/bin/ ; done 这里没有将kubectl放到 node节点

8.2.1所有k8s节点创建相关目录

这一步为什么又让所有节点执行 kubelet

1)安装完只能看到master01节点,node服务器的kubelet服务没起来或者请求没被批准
2)master2上出错,是因为没有配.kube/config或配置出错
3)kuectl实在master上执行,node节点一般不配

kubernetes一键安装,多支持:ek8-for-centos7-v1.24.3

from kubernetes.

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.