tsuru

开源、可扩展、基于Docker的平台即服务(PaaS)。「Open source, extensible and Docker-based Platform as a Service (PaaS).」

Github星跟踪图

tsuru

什么是 tsuru?

tsuru 是一个可扩展的、开源的平台即服务(PaaS),它能让应用部署更快、更简单。有了 tsuru,你根本不需要考虑服务器的问题。作为一个应用开发者,你可以:

  • 使用您选择的编程语言编写应用程序
  • 支持应用程序与附加资源,如 SQL 和 NoSQL 数据库,包括 memcached、Redis 和许多其他的数据库
  • 使用 tsuru 命令行工具管理应用程序
  • 使用 Git 版本控制系统部署应用程序

链接

快速入门

为了测试 tsuru 和/或为了开发,您可以使用安装程序来启动和运行 tsuru。安装程序是一项实验性功能。

从二进制安装

获取tsuru-client

下载最新版本的平台:https://github.com/tsuru/tsuru-client/releases/

1.1.1 版本和 OS X 的例子。

$ curl -sSL https://github.com/tsuru/tsuru-client/releases/download/1.1.1/tsuru-1.1.1-darwin_amd64.tar.gz | tar xz

调用 tsuru 安装器

$ tsuru install create

从源代码安装

获取 tsuru-client

您需要在您的机器上正确安装 Go。

$ git clone https://github.com/tsuru/tsuru-client $GOPATH/src/github.com/tsuru/tsuru-client
$ cd $GOPATH/src/github.com/tsuru/tsuru-client
$ make install

创建一个安装程序配置

用以下方法创建 tsuru 安装程序的配置文件。

$ tsuru install config init

用 install-compose.yml 中的最新标签替换 tsuru API 映像标签。

$ sed -i'' -e 's/api:v1/api:latest/g' install-compose.yml

调用 tsuru 安装器

$ $GOPATH/bin/tsuru install create -c install-config.yml -e install-compose.yml

测试

如果一切顺利的话,你已经在 VirtualBox 虚拟机中运行了 tsuru。调用 app-list 查看 tsuru 工作情况,这个命令需要返回一个名为 tsuru-dashboard 的应用。

$ tsuru app-list


(The first version translated by vz on 2020.08.29)

概览

名称与所有者tsuru/tsuru
主编程语言Go
编程语言Go (语言数: 7)
平台Docker, Kubernetes, Linux, Mac, Windows
许可证BSD 3-Clause "New" or "Revised" License
发布数273
最新版本名称1.20.4 (发布于 )
第一版名称0.1.0 (发布于 )
创建于2012-03-05 21:41:08
推送于2024-04-30 18:42:30
最后一次提交
星数4.7k
关注者数198
派生数517
提交数15.7k
已启用问题?
问题数1516
打开的问题数1
拉请求数1051
打开的拉请求数15
关闭的拉请求数105
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

tsuru

Build Status
Go Report Card

What is tsuru?

tsuru is an extensible and open source Platform as a Service (PaaS) that makes application deployments faster and easier.
With tsuru, you don’t need to think about servers at all. As an application developer, you can:

  • Write apps in the programming language of your choice
  • Back apps with add-on resources such as SQL and NoSQL databases, including memcached, Redis, and many others
  • Manage apps using the tsuru command-line tool
  • Deploy apps using the Git version control system

Links:

Quick Start

With the purpose of testing tsuru and/or for development, you can use the installer to have tsuru up and running. The installer is an experimental feature.

From Binary

Getting tsuru-client

Download the latest release for your platform at: https://github.com/tsuru/tsuru-client/releases/

Example for release 1.1.1 and OS X:

$ curl -sSL https://github.com/tsuru/tsuru-client/releases/download/1.1.1/tsuru-1.1.1-darwin_amd64.tar.gz
去到顶部