欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Spinnaker
来自开放百科 - 灰狐
(版本间的差异)
小 (→图集) |
小 (→链接) |
||
(未显示1个用户的21个中间版本) | |||
第1行: | 第1行: | ||
− | Spinnaker 是一个开源(Apache v2)的[[continuous delivery|持续交付]] | + | Spinnaker 是一个开源(Apache v2)的[[continuous delivery|持续交付]]平台,支持多种云平台。 |
==简介== | ==简介== | ||
+ | Spinnaker由[[Netflix]]开发并开源,使用[[Python]]、[[Java]]、[[Groovy]]、[[JavaScript]]、[[TypeScript]]多种编程语言编写而成。 | ||
==功能== | ==功能== | ||
==指南== | ==指南== | ||
+ | *[http://dockone.io/article/3048 在Kubernetes上部署Spinnaker] | ||
+ | *[https://blog.csdn.net/aixiaoyang168/article/details/79466938 初试 Kubernetes 集群中使用 Helm 搭建 Spinnaker 平台] | ||
+ | ===macOS=== | ||
+ | [https://cloud.tencent.com/developer/article/1010559 初试 Netflix 开源持续云交付平台 Spinnaker] | ||
+ | $ brew install node yarn | ||
+ | $ brew install redis cassandra packer | ||
+ | $ brew services start redis 或 redis-server /usr/local/etc/redis.conf | ||
+ | $ brew services start cassandra 或 cassandra -f | ||
+ | $ git clone https://github.com/spinnaker/spinnaker | ||
+ | $ mkdir build | ||
+ | $ cd build | ||
+ | $ ../spinnaker/dev/refresh_source.sh --pull_origin // clone Spinnaker 其他个组件代码,若有问题,就手动分别clone到本目录下 | ||
+ | $ ls -alt /Users/huihoo/spinnaker/build | ||
+ | 配置Spinnaker | ||
+ | $ mkdir -p $HOME/.spinnaker | ||
+ | $ touch $HOME/.spinnaker/spinnaker-local.yml | ||
+ | $ chmod 600 $HOME/.spinnaker/spinnaker-local.yml | ||
+ | $ cp spinnaker/config/spinnaker.yml $HOME/.spinnaker/spinnaker-local.yml | ||
+ | $ vim $HOME/.spinnaker/spinnaker-local.yml | ||
+ | 在 Cassandra 中为创建 front50 的 keyspaces | ||
+ | cqlsh 客户端执行 <spinnaker_dir>/spinnaker/cassandra/*.sql 或 | ||
+ | cqlsh> CREATE KEYSPACE IF NOT EXISTS front50 | ||
+ | WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; | ||
+ | cqlsh> describe keyspaces; | ||
+ | 启动Spinnaker服务 | ||
+ | $ cd /Users/huihoo/spinnaker/build | ||
+ | $ ../spinnaker/dev/run_dev.sh [service] //不指定,默认启动所有组件 | ||
+ | 启动 gate再启动 deck | ||
+ | $ cd spinnaker/build/gate | ||
+ | $ ./start_dev.sh | ||
+ | API_HOST=http://localhost:8084 yarn run start | ||
+ | http://localhost:9000 | ||
+ | |||
+ | ==CI== | ||
+ | Spinnaker支持以下CI: | ||
+ | *[[Jenkins]] | ||
+ | *[[Travis CI]] | ||
==DC/OS== | ==DC/OS== | ||
+ | |||
+ | ==项目== | ||
+ | *[https://github.com/spinnaker/deck deck] Spinnaker UI: [[TypeScript]]和[[JavaScript]]编写。 | ||
+ | *[https://github.com/dcos/examples/tree/master/spinnaker/1.10 DC/OS Spinnaker Service Guide] | ||
==文档== | ==文档== | ||
*[http://docs.huihoo.com/apache/mesos/mesoscon/north-america-2017/Continuous-Delivery-for-DCOS-with-Spinnaker.pdf Continuous Delivery for DC/OS with Spinnaker] | *[http://docs.huihoo.com/apache/mesos/mesoscon/north-america-2017/Continuous-Delivery-for-DCOS-with-Spinnaker.pdf Continuous Delivery for DC/OS with Spinnaker] | ||
+ | |||
+ | ==用户== | ||
+ | *[https://medium.com/netflix-techblog/global-continuous-delivery-with-spinnaker-2a6896c23ba7 Netflix] | ||
+ | *[https://cloudplatform.googleblog.com/2017/02/guest-post-multi-cloud-continuous-delivery-using-Spinnaker-at-Waze.html Waze] | ||
+ | *[https://www.armory.io/ Armory服务商] | ||
==图集== | ==图集== | ||
<gallery> | <gallery> | ||
+ | image:spinnaker.png|流水线工具 | ||
+ | image:spinnaker-clusters.png|集群 | ||
image:spinnaker-workflow.png|工作流 | image:spinnaker-workflow.png|工作流 | ||
+ | image:spinnaker-stages.png|Stages | ||
image:pipelines.png|Pipeline | image:pipelines.png|Pipeline | ||
image:pipeline-tasks.png|Pipeline tasks | image:pipeline-tasks.png|Pipeline tasks | ||
image:deployment-strategies.png|部署策略 | image:deployment-strategies.png|部署策略 | ||
+ | image:spinnaker-component.png|Spinnaker组件 | ||
+ | image:spinnaker-microservices-system-dependencies.png|微服务系统依赖 | ||
+ | image:wso2-pipeline-architecture.png|WSO2流水线 | ||
</gallery> | </gallery> | ||
第27行: | 第80行: | ||
[[category:DevOps]] | [[category:DevOps]] | ||
[[category:python]] | [[category:python]] | ||
+ | [[category:java]] | ||
+ | [[category:Linux Foundation]] | ||
+ | [[category:huihoo]] |
2020年12月12日 (六) 08:47的最后版本
Spinnaker 是一个开源(Apache v2)的持续交付平台,支持多种云平台。
目录 |
[编辑] 简介
Spinnaker由Netflix开发并开源,使用Python、Java、Groovy、JavaScript、TypeScript多种编程语言编写而成。
[编辑] 功能
[编辑] 指南
[编辑] macOS
初试 Netflix 开源持续云交付平台 Spinnaker
$ brew install node yarn $ brew install redis cassandra packer $ brew services start redis 或 redis-server /usr/local/etc/redis.conf $ brew services start cassandra 或 cassandra -f $ git clone https://github.com/spinnaker/spinnaker $ mkdir build $ cd build $ ../spinnaker/dev/refresh_source.sh --pull_origin // clone Spinnaker 其他个组件代码,若有问题,就手动分别clone到本目录下 $ ls -alt /Users/huihoo/spinnaker/build
配置Spinnaker
$ mkdir -p $HOME/.spinnaker $ touch $HOME/.spinnaker/spinnaker-local.yml $ chmod 600 $HOME/.spinnaker/spinnaker-local.yml $ cp spinnaker/config/spinnaker.yml $HOME/.spinnaker/spinnaker-local.yml $ vim $HOME/.spinnaker/spinnaker-local.yml
在 Cassandra 中为创建 front50 的 keyspaces
cqlsh 客户端执行 <spinnaker_dir>/spinnaker/cassandra/*.sql 或 cqlsh> CREATE KEYSPACE IF NOT EXISTS front50 WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; cqlsh> describe keyspaces;
启动Spinnaker服务
$ cd /Users/huihoo/spinnaker/build $ ../spinnaker/dev/run_dev.sh [service] //不指定,默认启动所有组件
启动 gate再启动 deck
$ cd spinnaker/build/gate $ ./start_dev.sh API_HOST=http://localhost:8084 yarn run start http://localhost:9000
[编辑] CI
Spinnaker支持以下CI:
[编辑] DC/OS
[编辑] 项目
- deck Spinnaker UI: TypeScript和JavaScript编写。
- DC/OS Spinnaker Service Guide
[编辑] 文档
[编辑] 用户
[编辑] 图集
[编辑] 链接
分享您的观点