1 Star 0 Fork 279

魔尊 / K8s

forked from zhuang kang / kubeode 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

输入图片说明

Kubeode 2022全新重构版,近期发布!!!

QQ交流群 微信交流群 :point_down:

template.png

重点集群配置推荐:

节点名称 内存要求
master 最低4GB
node 最低8GB

不要git clone 直接下载来 ——

下载地址

k8s-2022-06-19.tar 链接:https://cloud.189.cn/t/JRZrmiBFbeUj 提取码:6cae 下载慢怎么办,推荐一个方法:二进制下载慢过程繁多的解决方案

复制这段内容后打开手机迅雷App,查看更方便

阿里云centos7.9高速下载列表,助力本土化:

centos7.9 ISO下载地址:https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso (推荐使用迅雷工具下载,实测15MB/S,具体取决于您与运营商协商的网络速度)centos操作系统安装后的初始化操作 (Linux新手老手常用性指导,通用性操作,本离线项目参考)

加入社区:

  • Q群名称:K8s自动化部署交流
  • Q群号:893480182

云服务器环境适配性:

- 单机版支持腾讯云服务器测试已通过!

- 集群版支持天翼云服务器测试已通过!

- 测试集群版支持阿里云服务器(需要预先设置中文字符集否则菜单界面乱码不显示中文,后续我们会修复这个问题到脚本里面 暂时没有阿里云服务器调试)通过!

项目特性介绍:

本项目一键k8s部署特性: 完全离线,不依赖互联网(系统新装配置好ip开机即可!其他都什么都不用安装)

  1. 基于内核高可用api-server,真正原生centos7.3.-7.9Minimal新装系统(只需要统一集群的root密码即可)一键搭建k8s集群。
  2. 单机/集群任意服务器数量一键安装(目前一个节点对应一个etcd节点后续会分离可自定义)。
  3. 一键批量增删node节点(新增的服务器系统环境必须干净密码统一)。
  4. ipvs负载均衡,内网yum源共享页面端口42344。
  5. 单机版或集群版默认集成prometheus+grafan监控环境,默认端口30000,账号密码admin admin。
  6. 图形化向导菜单安装,web管理页面dashboar端口42345。
  7. Heketi+GlusterFS(分布式存储集群)+helm完全一键离线部署。
  8. 默认版本v1.19.5,可执行替换各版本软件包,集群版目前已测安装数量在1-30台一键安装正常。
  9. 集群数量超过4台及以上默认开启k8s数据持久化方案:glusterfs+Heketi 最低3台分布式存储 \n (全自动自动安装,启用k8s集群持久化方案务必保证存储节点均有一块空盘,例如/deb/sdb无需分区,默认40%用于k8s集群持久化60%挂载到本机的/data目录),如启用Heketi+GlusterFS,默认会创建一个pvc验证动态存储效果。

一键安装

===

一键安装介绍任选通道进行安装

一键安装命令(要求centos7系统为新装系统无任何软件环境可联网),推荐 centos7.6

不推荐git下来仓库大概1.5gb左右比较大,可以直接下载离线包

一键安装通道01(默认走家庭宽带普通通道---不稳定不推荐)

while [ true ]; do  rm -f k8s-2021-12-20.tar*;curl  -o   k8s-2021-12-20.tar  http://www.linuxtools.cn:9999/chfs/shared/k8s-2021-12-20.tar && break 1 ||sleep 5;echo 网络错误正在重试下载 ;done && tar -xvf  k8s-2021-12-20.tar && cd  k8s-2021-12-20/ && sh install.sh

一键安装通道02(走群友无私赞助电信机房专线服务器--高速稳定下载----强烈推荐)

while [ true ]; do  rm -f k8s-2021-12-20.tar*;curl  -o   k8s-2021-12-20.tar  http://www.linuxtools.cn:9999/chfs/shared/k8s-2021-12-20.tar && break 1 ||sleep 5;echo 网络错误正在重试下载 ;done && tar -xvf  k8s-2021-12-20.tar && cd  k8s-2021-12-20/ && sh install.sh
``` shell
while [ true ]; do  rm -f k8s-2021-12-20.tar*;curl  -o   k8s-2021-12-20.tar  http://www.linuxtools.cn:9999/chfs/shared/k8s-2021-12-20.tar && break 1 ||sleep 5;echo 网络错误正在重试下载 ;done && tar -xvf  k8s-2021-12-20.tar && cd  k8s-2021-12-20/ && sh install.sh

一键安装通道03(走群友无私赞助腾讯云8Mbps专线服务器--低速稳定下载----100%高可用低速,正在寻找下载方案来保障高可用高速方案)

while [ true ]; do  rm -f k8s-2021-12-20.tar*;curl  -o   k8s-2021-12-20.tar http://bt.zhaoyujian.com:1080/k8s-2021-12-20.tar && break 1 ||sleep 5;echo 网络错误正在重试下载 ;done && tar -xvf  k8s-2021-12-20.tar && cd  k8s-2021-12-20/ && sh install.sh
[root@k8s-master-db2 ~]#
[root@mubanji49 ~]# sh K8s/shell_01/Check02.sh
==============master节点健康检测 kube-apiserver  kube-controller-manager   kube-scheduler  etcd  kubelet kube-proxy docker==================
192.168.123.69 | CHANGED | rc=0 >>
active active active active active active active

===============================================note节点监控检测 etcd  kubelet kube-proxy docker===============================================
192.168.123.25 | CHANGED | rc=0 >>
active active active active

192.168.123.23 | CHANGED | rc=0 >>
active active active active

192.168.123.24 | CHANGED | rc=0 >>
active active active active

192.168.123.22 | CHANGED | rc=0 >>
active active active active

===============================================监测csr,cs,pvc,pv,storageclasses===============================================
NAME                                                                                                 AGE     REQUESTOR           CONDITION
certificatesigningrequest.certificates.k8s.io/node-csr-BhGxRilO9l04KxPRB8xvyyLfJWXbj9uBWaeSKz3PoB4   3m1s    kubelet-bootstrap   Approved,Issued
certificatesigningrequest.certificates.k8s.io/node-csr-Fp2t03YNTTPFKQf_ljIZvuYAGOyuv3SbJ97Dhm5DIzQ   2m59s   kubelet-bootstrap   Approved,Issued
certificatesigningrequest.certificates.k8s.io/node-csr-RapTjQ_XBKSG8vrNX8_WO8szy39WE5hUN8lXMIHCIZM   2m59s   kubelet-bootstrap   Approved,Issued
certificatesigningrequest.certificates.k8s.io/node-csr-eMBnkUV4nUFXDhxTXiCc7ZjpkBL6UhRf56N_qpVMnVM   2m59s   kubelet-bootstrap   Approved,Issued
certificatesigningrequest.certificates.k8s.io/node-csr-uVc1At65pHTwPmRTEZ584h2AWnGeopEfaKSuu-pbi7I   2m59s   kubelet-bootstrap   Approved,Issued

NAME                                 STATUS    MESSAGE             ERROR
componentstatus/scheduler            Healthy   ok
componentstatus/controller-manager   Healthy   ok
componentstatus/etcd-3               Healthy   {"health":"true"}
componentstatus/etcd-2               Healthy   {"health":"true"}
componentstatus/etcd-0               Healthy   {"health":"true"}
componentstatus/etcd-1               Healthy   {"health":"true"}
componentstatus/etcd-4               Healthy   {"health":"true"}

NAME                                  STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS     AGE
persistentvolumeclaim/gluster1-test   Bound    pvc-c02684ba-ff23-11e9-ae0a-000c29ed75cf   1Gi        RWX            gluster-heketi   50s
persistentvolumeclaim/my-grafana      Bound    pvc-c5734aaf-ff23-11e9-ae0a-000c29ed75cf   10Gi       RWO            gluster-heketi   41s

NAME                                                        CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                   STORAGECLASS     REASON   AGE
persistentvolume/pvc-c02684ba-ff23-11e9-ae0a-000c29ed75cf   1Gi        RWX            Delete           Bound    default/gluster1-test   gluster-heketi            45s
persistentvolume/pvc-c5734aaf-ff23-11e9-ae0a-000c29ed75cf   10Gi       RWO            Delete           Bound    default/my-grafana      gluster-heketi            23s

NAME                                         PROVISIONER               AGE
storageclass.storage.k8s.io/gluster-heketi   kubernetes.io/glusterfs   50s
===============================================监测node节点labels===============================================
NAME             STATUS   ROLES    AGE     VERSION   LABELS
192.168.123.22   Ready    node     2m38s   v1.19.5   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=192.168.123.22,kubernetes.io/os=linux,node-role.kubernetes.io/node=node,storagenode=glusterfs
192.168.123.23   Ready    node     2m37s   v1.19.5   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=192.168.123.23,kubernetes.io/os=linux,node-role.kubernetes.io/node=node,storagenode=glusterfs
192.168.123.24   Ready    node     2m38s   v1.19.5   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=192.168.123.24,kubernetes.io/os=linux,node-role.kubernetes.io/node=node,storagenode=glusterfs
192.168.123.25   Ready    node     2m37s   v1.19.5   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=192.168.123.25,kubernetes.io/os=linux,node-role.kubernetes.io/node=node,storagenode=glusterfs
192.168.123.69   Ready    master   2m38s   v1.19.5   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,dashboard=master,kubernetes.io/arch=amd64,kubernetes.io/hostname=192.168.123.69,kubernetes.io/os=linux,node-role.kubernetes.io/master=master,storagenode=glusterfs
===============================================监测coredns是否正常工作===============================================
coredns-57656b67bb-nzzlw              1/1     Running   0          2m15s
Server:    10.0.0.2
Address 1: 10.0.0.2 kube-dns.kube-system.svc.cluster.local

Name:      kubernetes
Address 1: 10.0.0.1 kubernetes.default.svc.cluster.local
pod "dns-test" deleted
===============================================监测,pods状态===============================================
NAMESPACE     NAME                                  READY   STATUS    RESTARTS   AGE     IP            NODE             NOMINATED NODE   READINESS GATES
default       my-grafana-766fb5978b-tq6l8           0/1     Running   0          43s     172.17.1.3    192.168.123.69   <none>           <none>
kube-system   coredns-57656b67bb-nzzlw              1/1     Running   0          2m17s   172.17.23.2   192.168.123.24   <none>           <none>
kube-system   kubernetes-dashboard-5b5697d4-khqqd   1/1     Running   0          2m14s   172.17.1.2    192.168.123.69   <none>           <none>
kube-system   tiller-deploy-7dd4495c74-nzz74        1/1     Running   0          2m33s   172.17.14.2   192.168.123.22   <none>           <none>
===============================================监测node节点状态===============================================
NAME             STATUS   ROLES    AGE     VERSION   INTERNAL-IP      EXTERNAL-IP   OS-IMAGE                KERNEL-VERSION          CONTAINER-RUNTIME
192.168.123.22   Ready    node     2m40s   v1.19.5   192.168.123.22   <none>        CentOS Linux 7 (Core)   3.10.0-514.el7.x86_64   docker://19.3.4
192.168.123.23   Ready    node     2m39s   v1.19.5   192.168.123.23   <none>        CentOS Linux 7 (Core)   3.10.0-514.el7.x86_64   docker://19.3.4
192.168.123.24   Ready    node     2m40s   v1.19.5   192.168.123.24   <none>        CentOS Linux 7 (Core)   3.10.0-693.el7.x86_64   docker://19.3.4
192.168.123.25   Ready    node     2m39s   v1.19.5   192.168.123.25   <none>        CentOS Linux 7 (Core)   3.10.0-693.el7.x86_64   docker://19.3.4
192.168.123.69   Ready    master   2m40s   v1.19.5   192.168.123.69   <none>        CentOS Linux 7 (Core)   3.10.0-957.el7.x86_64   docker://19.3.4
================================================监测helm版本================================================
Client: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
[root@mubanji49 ~]#
[root@mubanji49 ~]# ansible all -m shell -a  "cat /etc/redhat-release "
192.168.123.23 | CHANGED | rc=0 >>
CentOS Linux release 7.3.1611 (Core)

192.168.123.22 | CHANGED | rc=0 >>
CentOS Linux release 7.3.1611 (Core)

192.168.123.24 | CHANGED | rc=0 >>
CentOS Linux release 7.4.1708 (Core)

192.168.123.25 | CHANGED | rc=0 >>
CentOS Linux release 7.4.1708 (Core)

192.168.123.69 | CHANGED | rc=0 >>
CentOS Linux release 7.6.1810 (Core)

[root@mubanji49 ~]#

  • ps:目前是单master,后期会上多master高可用
  • ps:近期提交代码过于频繁有时候可能会有=一些bug,欢迎到群随时提出

====

[说明] 系统只能存在一个固定ip地址 一个网卡一个ip 切记美分系统不能多个ip多个网卡

[说明] 目前已支持centos7.3-centos7.9, “不支持Centos7.2及其以下版本”,后期会进行优化。

[说明] 系统ip不能使用 10.0.0.0网段,尽量避开系统使用172.17.x.x 10.0.0.x网段(否则安装会有问题,后期会优化改进)

**

K8s升级替换v1.14.0 v1.15.0

如果不需要使用v1.14.0 v1.15.0直接默认一键安装即可。master分支默认的是v1.19.5

默认版本为v1.19.5,提供升级软件包v14 v15自行下载后放到 K8s/Software_package 目录即可(务必删除原有的)

链接:http://linuxtools.cn:42344/K8s_list/

放入前务必执行以下操作

rm -fv  K8s/Software_package/kubernetes-server-linux-amd64.tar.a*
# 可选执行-----一键替换第三方yum源
rm  -fv  rm -f /etc/yum.repos.d/*
while  [ true ]; do  curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo   && break  1   ;done
while  [ true ]; do  curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo   && break  1   ;done

--------------------------------------------------------华丽分界线--------------------------------------------------------

一键安装

一键安装介绍任选通道进行安装

一键安装命令(要求centos7系统为新装系统无任何软件环境可联网) 不推荐git下来仓库大概1.5gb左右比较大,可以直接下载离线包

一键安装通道01(走私有服务器高速通道)

while [ true ]; do  rm -f k8s-2021-12-20.tar*;curl  -o   k8s-2021-12-20.tar  http://www.linuxtools.cn:9999/chfs/shared/k8s-2021-12-20.tar && break 1 ||sleep 5;echo 网络错误正在重试下载 ;done && tar -xvf  k8s-2021-12-20.tar && cd  k8s-2021-12-20/ && sh install.sh

一键安装通道02(走码云服务器)

#零时弃用

视频教程地址:

https://www.bilibili.com/video/av57242055?from=search&seid=4003077921686184728 看完视频,可以继续按照本文档指引进行安装部署,观看完后欢迎QQ群交流:893480182 (目前社区都是k8s的小伙伴,期待你的加入)

测试环境

  • VMware15虚拟化平台,所有服务器节点2核2G
  • 已测1-50节点安装正常
  • 建议新装centos7.6系统,环境干净(不需要提前安装任何软件不需要提前安装docker).集群功能至少2台服务器节点
网络 系统 内核版本 IP获取方式 docker版本 Kubernetes版本 K8s集群安装方式
桥接模式 新装CentOS7.6.1810 (Core) 3.10.0-957.el7.x86_64 手动设置固定IP(不能dhcp获取所有节点) 18.06.1-ce v1.19.5 二进制包安装

部署教程

下载安装

rm -f k8s-2021-12-20.tar*

下载通道01 走普通家庭宽带下载点

curl  -o   k8s-2021-12-20.tar  http://www.linuxtools.cn:9999/chfs/shared/k8s-2021-12-20.tar

下载通道02 走群友无私赞助电信机房专线服务器--高速稳定下载----强烈推荐

curl  -o   k8s-2021-12-20.tar  http://www.linuxtools.cn:9999/chfs/shared/k8s-2021-12-20.tar

下载并解压

tar -xvf  k8s-2021-12-20.tar
### 一键部署k8s
cd  k8s-2021-12-20/ && sh install.sh

节点模式选择:

说明:1.一键安装k8s单节点请在下图选择 single k8s one click 项,安装k8s集群多节点请选择 cluste k8s one click 项:

1.png

导入ip:

6.png

ip添加:

2.png

输入node节点统一的root密码:

4.png

输入master IP:

5.png

部署完成

QQ图片20190930164529.png

9.png 8.png

3.png 7.png QQ图片20190930164536.png QQ图片20190930164546.png

(可选检查项):监控

QQ截图20200208133429.png pod监控.png QQ图片20190930163116.png QQ图片20190930163124.png QQ图片20190930163136.jpg QQ图片20190930163127.png QQ图片20190930163130.png QQ图片20190930163133.png

(可选检查项):监控 Dashboard

QQ截图20190930163923.png QQ截图20190930164028.png QQ截图20190930163252.png QQ截图20190930163943.png QQ截图20190930164058.png QQ截图20190930164008.png QQ截图20190930164000.png

更新日志

持续迭代之路,后期会不断演进,尽请期待!

2022-04-15新增特性

1.更新docker-ce等yum软件包到最新版。 2.修复centos7.8 7.6 7.9的兼容性

2021-12-20新增特性

1.更新docker-ce等软件包到最新版。 2.修复centos7.8的兼容性

2021-9-28新增特性

1.更新配套生态软件版本coredns-1.8.4 kubeapps-2.4.0 grafana-8.1.3 prometheus-2.26.0 ,新增k8s ui kuboard(非官方) 2.新增kubeapp k8s helmhub应用商店 3.新增ingress 4.更新离线镜像包 5.升级k8s版本v1.19.14

2021-9-29新增特性

1.更新镜像源.阿里的被删了更换为华为仓库

2020-12-25新增特性

1.默认k8s版本v1.19.5 纯二进制部署 非kubeadm 2.升级所有二进制相关组件 cfssl-certinfo_1.5.0_linux_amd64 cfssl_1.5.0_linux_amd64 cfssljson_1.5.0_linux_amd64 etcd-v3.4.14-linux-amd64.tar.gz flannel-v0.13.0-linux-amd64.tar.gz heketi-v10.1.0.linux.amd64.tar.gz helm-v3.4.2-linux-amd64.tar.gz v1.19.5_kubernetes-server-linux-amd64.tar.gz 3.完善多master高可用,基于ipvs 4.修复若干bug,线上环境已使用

2020-4-21新增特性

1.新增多master高可用,基于ipvs(仅供测试使用目前还没有深入测试过可能会有bug) 2.修复一些bug

2020-2-8新增特性

1.新增卸载功能,优化部署脚本 修复一些bug+内核优化

2019-10-19新增特性

1.修复一些bug+内核优化

2019-10-10新增特性

1.修复时区问题,所有pod默认中国上海时区

2019-9-16新增特性

  1. 集群版新增prometheus +grafan集群监控环境(被监控端根据集群数量自动弹性扩展) 默认端口30000,默认账户密码admin admin
  2. 必须在启用数据持久化功能的基础上才会开启
  3. grafana已内置了k8s集群pod监控模板,集群基础信息监控模板,已内置饼图插件,开箱即可用

2019-9-27新增特性

  1. 单机版新增nfs_k8s动态存储,单机版k8s也能愉快的玩helm了,后续增加集群版nfs云端存储/本地存储持久化方案。
  2. 单机版新增prometheus+grafan监控环境
  3. 单机版默认storageclasses均为gluster-heketi

2019-9-25新增特性

  1. 优化一些参数,集群版持久化功能支持最低2个节点起
  2. 单机版新增helm
  3. 修复一些bug

2019-9-13新增特性

  1. 集群版新增coredns 感谢群内dockercore大佬的指导
  2. 优化集群版部署脚本,新增集群重要功能监测脚本
  3. 新增内置busybox镜像测试dns功能

2019-8-26新增特性

  1. 新增node节点批量增删
  2. 新增glusterfs分布式复制卷---持久化存储(集群版4台及以上自动内置部署)

2019-7-11新增特性

修复部分环境IP取值不精确导致etcd安装失败的问题

2019-7-10新增特性

  1. 新增集群版 web图形化控制台dashboard
  2. 更新docker-ce版本为 Version: 18.09.7 K8s集群版安装完毕,web控制界面dashboard地址为 http://IP:42345

2019-7-1新增特性

新增单机版 web图形化控制台dashboard K8s单机版安装完毕,web控制界面dashboard地址为 http://IP:42345

Kubeode 产品释义:k8s one-click deploy easy,k8s 一键部署so easy!

部署k8s,如果你遇到任何方面的疑问,可以来我们社区QQ群交流哦,QQ群:893480182

k8s一键部署项目,专注更快部署k8s,欢迎star

zhuang kang/K8s

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

k8s集群二进制包一键化多master-HA基于内核负载高可用,支持centos7.3-7.7++++kubernetes v1.15.7集群一键离线安装,一键批量增删node节点,一键集成k8s持久化方案Heketi+GlusterFS+nfs+helm3+动态存储+dns+ipvs+prometheus +grafan 展开 收起
Shell
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/myownapps/K8s.git
git@gitee.com:myownapps/K8s.git
myownapps
K8s
K8s
master

搜索帮助