Comments (2)
2.2.3 在master01 上执行,get node 也在master01执行
from kubernetes.
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)
- 123 HOT 6
- k8s 1.26.0 安装 HOT 1
- 关于 Pod 获取 Kubernetes API 问题
- kubectl get nodes 返回No resources found,求个交流群 HOT 2
- 8.2.5 执行 kubectl get node 报 No resources found HOT 2
- NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized 无法创建pod HOT 2
- 二进制安装已经安装好的Ipv4 证书如何添加ipv6 HOT 1
- 需要一个centos stream 9 的安装教程。多谢 HOT 3
- bootstrap.secret.yaml文件路径
- 关于动态ipv6 HOT 2
- 二进制安装Kubernetes(k8s)v1.28.0 一文中的bootstrap.secret.yaml 是如何获取的 HOT 3
- centos8系统默认网卡是ens160,如果要修改eth比较麻烦,虚拟机应该只需要改uuid就行了吧 HOT 1
- SAN dNSName is malformed HOT 2
- 请小陈同学老大上线指导安装K8S,在线等 HOT 2
- Arm 架构机器部署 k8s 集群 HOT 1
- ubuntu 22.04.4 安装k8s 时候,安装containerd 容器运行时后,kublet无法注册,cri-o没有问题
- k8s1.29X 启动kubelet后查看集群的时候报错 HOT 3
- Unable to authenticate the request" err="invalid bearer token HOT 1
- 大佬辛苦帮忙看看吧 HOT 1
- 关于解决kubectl get nodes 就会报 No resources found ,system:anonymous" cannot get resource
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.