Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tsuru/now

Yet another script to install Tsuru and its dependencies.
https://github.com/tsuru/now

Last synced: about 2 months ago
JSON representation

Yet another script to install Tsuru and its dependencies.

Awesome Lists containing this project

README

        

# INSTALL

`now` script is *deprecated*. The current recommended method to install tsuru for test or development is [tsuru installer](https://docs.tsuru.io/stable/installing/using-tsuru-installer.html).

# Tsuru Now

Yet another script to install tsuru and its dependencies on Ubuntu or Debian distros.

These are some goals for this project:

* It should run without interaction and deliver a working environment;
* It shouldn't be a problem to run the script multiple times on the same machine;
* It should work on existing machines that might already have some components installed;
* It should allow parameters to install a single role:
* API node
* Docker node
* Load balancer node
* A web UI to automatically run it on EC2 instances

Note: This scripts works only on Debian or Ubuntu distros, isn't supported to run on CentOS/RHEL.

## Running

Running the command below should already create a working tsuru environment:

```
curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash
```

## Advanced Usage

With Tsuru Now, you can build your own tsuru cluster easily.

### Building a cluster server

```
curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template server
```

### Building a client connected to the server

Assume the IP address of the cluster server is 10.42.42.1

```
curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template client --private-ip 10.42.42.1
```

### Building a docker node controlled by the server

Assume the IP address of the cluster server is 10.42.42.1

```
curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template dockerfarm --private-ip 10.42.42.1
```