Giter VIP home page Giter VIP logo

in_cn_easy_install_k8s's Introduction

更新日志 2018-11-24 重新编译kubeadm 将所有证书有效期提升到10年,解决官方kubeadm证书1年后失效问题

半年前,我学k8s , 差点从安装到放弃,用的是二进制文件安装,足足装了一个星期,最主要是网上的教程很多误人子弟,排很多坑!所以国庆我找时间写了个脚本安装

系统要求: yum源无问题的centos 7.X redhat 7.x 注意事项: master node 的节点hostname 不能重名,否则会有问题。

目前很多朋友帮测试过 centos 7.3 7.4 7.5 都可以一次安装成功

在matser节点 git clone https://github.com/thejosan/in_cn_easy_install_k8s.git

cd in_cn_easy_install_k8s/

sh install-master.sh

如果服务器是多网卡 后面接参数填ip地址 sh install-master.sh 192.168.1.2

插件: dashboard flannel nginx-ingress(ds默认装在default) 如果有需要修改命名空间请修改 install-addons.sh 里面的参数

安装成功会生成 dashboard 的 token ,查看请自行cat token.txt

dashboard 浏览方法: 用firefox 浏览 https://master-ip:30001 ,跳出不安全提示,然后高级点添加网站到安全例外

安装成功后会在/root目录生成 node节点的安装包,scp到node节点解压运行 ./install-node.sh 即可加入集群

未来还会更新推出双master ha版本。不过当务之急还是把promethous elk helm 插件的部署写到脚本里面,这些东西对学习k8s临床意义非常大。请关注我的更新!

更新日志 :------------------------------------------------------------

2018-11-24 重新编译kubeadm 将所有证书有效期提升到10年,解决证书只有一年有效期失效问题

2018-11-15 增加插件 heapster grafana influxdb

in_cn_easy_install_k8s's People

Contributors

thejosan avatar

Watchers

James Cloos avatar  avatar

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.