Code Monkey home page Code Monkey logo

spinnaker-auto-install's Introduction

Spinnaker-Auto-Install

目标(Objective):

  • 让天下再也没有难安装的Spinnaker!
  • 利用Github Actions 自动(优雅并科学的)安装Spinnaker到任何Kubernetes集群上。
  • 无需任何科学(富强)工具。

当前版本信息(Version):

  • Spinnaker Version:1.21.0 (Dark)

先决条件(precondition):

  • 已运行正常的Kubernetes集群,集群需要联网,能让外网通过kubectl命令连接上集群。
  • 提前安装好Nginx Ingress Controller。
  • 集群需要能自动下载DockerHub上的镜像。如果想用私有仓库的镜像,请修改(config-images.sh)文件里的镜像地址。

食用方法(User Guide):

  1. 首先“Fork”本库。

  2. 点击仓库的“settings”,增加“Secrets”,名称为“KUBECONFIG”,值则填写你的Kubernetes集群的“kubeconfig”文件所有内容。那么,spinnaker就会被安装部署到这个kubernetes集群上。

  3. Kubernetes集群需要提前安装好Nginx Ingress Controller。那么,就可以直接使用URL:http://deck.hbstarjason.spinnaker/) 访问Spinnaker的界面。(注意:请提前做好本地域名解析!)

    注意:部署之前,请将(install.yml)文件里面的# hal deploy apply注释取消掉,才会自动部署!

需要优化(RoadMap)

  • 进一步优化Github Actions的脚本(install.yml),让其更加简单优雅。
  • 适配其他更多的Ingress Controller。(目前只做了Nginx Ingress Controller适配)
  • 自动优雅的下载Spinnaker组件的镜像,并同步转存到指定的Registry上。(现在镜像都是放在DockerHub上的。)
  • 暂时使用的redis作为spinnaker的存储,官网已有提示,是***不推荐的***!请参考官网:redis(对接S3在install.yml里已有注释说明)
  • 需要部署到生产环境的话,需要将几个核心组件(Orca、Clouddriver、Front50)的数据做持久化。请参考官网:productionize
  • 暂时没有开启Spinnaker管理多个Kubernetes集群,想开启也是很简单的。(install.yml文件里已有注释说明)
  • 暂时没有开启Spinnaker与Git仓库(如GitLab等)的对接,想开启也是很简单的。(install.yml文件里有注释说明)
  • 暂时没有开启Spinnaker与CI System(如Jenkins等)对接,想开启也是很简单的。(install.yml文件里有注释说明)
  • 暂时没有开启Spinnaker与监控系统(如Prometheus等)对接,想开启也是很简单的。(install.yml文件里有注释说明)
  • 已安装Canary组件并开启功能,但是没有对接Prometheus,因此不能使用Prometheus进行Canary Analysis。
  • 暂时未开启SSL。请参考官网:ssl
  • Spinnaker的Authentication和Authorization,需要借助第三方。请参考官网:security
  • ~~Spinnaker是自带CI系统的,不推荐使用。~~请参考官网:bakery

吐槽(Others):

  • 如果你能科学富强的话,上面其实都是然并卵,通过Halyard命令,只需要不到10行命令就能安装好Spinnaker!
  • 如果你不能科学富强的话,不用上面的,保证你肯定安装不上Spinnaker!!!

spinnaker-auto-install's People

Contributors

hbstarjason 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.