tsuru

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

Github stars Tracking Chart

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)

Overview

Name With Ownertsuru/tsuru
Primary LanguageGo
Program languageGo (Language Count: 7)
PlatformDocker, Kubernetes, Linux, Mac, Windows
License:BSD 3-Clause "New" or "Revised" License
Release Count272
Last Release Name1.20.3 (Posted on )
First Release Name0.1.0 (Posted on )
Created At2012-03-05 21:41:08
Pushed At2024-04-24 16:38:34
Last Commit At
Stargazers Count4.7k
Watchers Count199
Fork Count518
Commits Count15.7k
Has Issues Enabled
Issues Count1516
Issue Open Count1
Pull Requests Count1048
Pull Requests Open Count16
Pull Requests Close Count105
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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
To the top