Skip to content

kubernetes (k8s) 二进制高可用安装,Binary installation of kubernetes (k8s) --- 开源不易,帮忙点个star,谢谢了🌹

License

Notifications You must be signed in to change notification settings

FangTangJing/Kubernetes-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes (k8s) 二进制高可用安装

Kubernetes 开源不易,帮忙点个star,谢谢了🌹

GitHub访问不通畅可以访问国内GitEE https://gitee.com/cby-inc/Kubernetes

常见异常

  1. 安装会出现kubelet异常,无法识别 --node-labels 字段问题,原因如下。

--node-labels=node.kubernetes.io/node='' 替换为 --node-labels=node.kubernetes.io/node='' 删除即可。

  1. 注意hosts配置文件中主机名和IP地址对应

  2. 在文档7.2,却记别忘记执行kubectl create -f bootstrap.secret.yaml命令

介绍

我使用IPV6的目的是在公网进行访问,所以我配置了IPV6静态地址。

若您没有IPV6环境,或者不想使用IPv6,不对主机进行配置IPv6地址即可。

不配置IPV6,不影响后续,不过集群依旧是支持IPv6的。为后期留有扩展可能性。

如果本地没有IPv6,那么Calico需要使用IPv4的yaml配置文件。

后续尽可能第一时间更新新版本文档,更新后内容在GitHub。

当前文档版本

1.21.13 和 1.22.10 和 1.23.3 和 1.23.4 和 1.23.5 和 1.23.6 和 1.23.7 和 1.24.0 和 1.24.1 和 1.24.2 和 1.24.3 文档以及安装包已生成。

访问地址

https://github.com/cby-chen/Kubernetes/

手动项目地址:https://github.com/cby-chen/Kubernetes

脚本项目地址:https://github.com/cby-chen/Binary_installation_of_Kubernetes

kubernetes 1.24 变化较大,详细见:https://kubernetes.io/zh/blog/2022/04/07/upcoming-changes-in-kubernetes-1-24/

文档

二进制安装每个版本文档

1.23版本

v1.23.3-CentOS-binary-install

v1.23.4-CentOS-binary-install

v1.23.5-CentOS-binary-install

v1.23.6-CentOS-binary-install

1.24版本

v1.24.0-CentOS-binary-install-IPv6-IPv4.md

v1.24.1-CentOS-binary-install-IPv6-IPv4.md

v1.24.2-CentOS-binary-install-IPv6-IPv4.md

v1.24.3-CentOS-binary-install-IPv6-IPv4.md

三主俩从版本

v1.21.13-CentOS-binary-install-IPv6-IPv4-Three-Masters-Two-Slaves.md

v1.22.10-CentOS-binary-install-IPv6-IPv4-Three-Masters-Two-Slaves.md

v1.23.7-CentOS-binary-install-IPv6-IPv4-Three-Masters-Two-Slaves.md

v1.24.0-CentOS-binary-install-IPv6-IPv4-Three-Masters-Two-Slaves.md

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

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

修复kube-proxy证书权限过大问题

kube-proxy_permissions.md

使用kubeadm初始化IPV4/IPV6集群

kubeadm-install-IPV6-IPV4.md

IPv4集群启用IPv6功能,关闭IPv6则反之

Enable-implement-IPv4-IPv6.md

升级kubernetes集群

Upgrade_Kubernetes.md

安装包

(下载更快)我自己的网盘:https://pan.oiox.cn/s/PetV

(下载更快)123网盘:https://www.123pan.com/s/Z8ArVv-PG60d

每个初始版本会打上releases,安装包在releases页面

https://github.com/cby-chen/Kubernetes/releases

注意:1.23.3 版本当时没想到会后续更新,所以当时命名不太规范。

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/cby/Kubernetes.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.23.4/kubernetes-v1.23.4.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.23.5/kubernetes-v1.24.5.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.23.6/kubernetes-v1.23.6.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.23.7/kubernetes-v1.23.7.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.24.0/kubernetes-v1.24.0.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.24.1/kubernetes-v1.24.1.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.24.2/kubernetes-v1.24.2.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.24.3/kubernetes-v1.24.3.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.22.10/kubernetes-v1.22.10.tar

wget https://ghproxy.com/https://github.com/cby-chen/Kubernetes/releases/download/v1.21.13/kubernetes-v1.21.13.tar

旧版本地址

建议查看main版本中的文档。https://github.com/cby-chen/Kubernetes/

若找对应版本文档中的安装包,可以在上方下载安装包,可以在在下方地址中查找。

https://github.com/cby-chen/Kubernetes/tree/cby

https://github.com/cby-chen/Kubernetes/tree/v1.23.4

https://github.com/cby-chen/Kubernetes/tree/v1.23.5

https://github.com/cby-chen/Kubernetes/tree/v1.23.6

https://github.com/cby-chen/Kubernetes/tree/v1.23.7

https://github.com/cby-chen/Kubernetes/tree/v1.24.0

https://github.com/cby-chen/Kubernetes/tree/v1.24.1

https://github.com/cby-chen/Kubernetes/tree/v1.24.2

https://github.com/cby-chen/Kubernetes/tree/v1.24.3

https://github.com/cby-chen/Kubernetes/tree/v1.22.10

https://github.com/cby-chen/Kubernetes/tree/v1.21.13

其他

  • 建议在 Kubernetes 查看文档,后续会陆续更新文档
  • 小陈网站:
  1. https://blog.oiox.cn/
  2. https://www.oiox.cn/
  3. https://www.chenby.cn/
  4. https://cby-chen.github.io/

技术交流

作者:

avatar

加群:

avatar



其他文档请查看如下,欢迎关注微信公众号:

https://www.oiox.cn/
https://blog.oiox.cn/
https://www.chenby.cn/
https://cby-chen.github.io/
https://my.oschina.net/u/3981543/
https://blog.csdn.net/qq_33921750/
https://www.jianshu.com/u/0f894314ae2c/
https://juejin.cn/user/3315782802482007/
https://www.zhihu.com/people/chen-bu-yun-2/
https://segmentfault.com/u/hppyvyv6/articles/
https://space.bilibili.com/352476552/article/
https://cloud.tencent.com/developer/column/93230
https://developer.aliyun.com/profile/nghinjk6dyidw/
https://bbs.huaweicloud.com/community/usersnew/id_1576987520942284/
https://www.toutiao.com/c/user/token/MS4wLjABAAAAeqOrhjsoRZSj7iBJbjLJyMwYT5D0mLOgCoo4pEmpr4A/

CSDN、GitHub、知乎、开源中国、思否、掘金、简书、华为云、阿里云、腾讯云、哔哩哔哩、今日头条、新浪微博、个人博客

全网可搜《小陈运维》

文章主要发布于微信公众号

Stargazers over time

Stargazers over time

About

kubernetes (k8s) 二进制高可用安装,Binary installation of kubernetes (k8s) --- 开源不易,帮忙点个star,谢谢了🌹

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published