Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsuru/now
Yet another script to install Tsuru and its dependencies.
https://github.com/tsuru/now
Last synced: 2 months ago
JSON representation
Yet another script to install Tsuru and its dependencies.
- Host: GitHub
- URL: https://github.com/tsuru/now
- Owner: tsuru
- License: bsd-3-clause
- Created: 2014-05-10T03:35:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-10T19:18:35.000Z (about 6 years ago)
- Last Synced: 2024-08-02T12:51:28.216Z (5 months ago)
- Language: Shell
- Size: 366 KB
- Stars: 90
- Watchers: 17
- Forks: 57
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - now - Yet another script to install Tsuru and its dependencies. (Shell)
- awesome-starred - tsuru/now - Yet another script to install Tsuru and its dependencies. (others)
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 instancesNote: 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
```