Skip to content

Commit e082586

Browse files
author
Gabriel Monroy
committed
Merge pull request #1069 from deis/readme-fixes
docs(readme): remove cruft and add clarifications
2 parents 0d9266f + ad8eabd commit e082586

1 file changed

Lines changed: 1 addition & 33 deletions

File tree

README.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ On your workstation:
2323
* Install the fleetctl client: Install v0.3.2 from the [fleet GitHub page](https://github.com/coreos/fleet/releases).
2424
* Install the Docker client if you want to run Docker commands locally (optional)
2525

26-
If you're on Ubuntu, you need to install the nfs-kernel-server package as it's required for sharing folders between your host and your CoreOS VM:
27-
28-
sudo apt-get install nfs-kernel-server
29-
3026
## Additional setup for a multi-node cluster
3127
If you'd like to spin up more than one VM to test an entire cluster, there are a few additional prerequisites:
3228
* Edit [contrib/coreos/user-data](contrib/coreos/user-data) and add a unique discovery URL generated from `https://discovery.etcd.io/new`
3329
* Set `DEIS_NUM_INSTANCES` to the desired size of your cluster (typically 3 or 5): ```$ export DEIS_NUM_INSTANCES=3```
34-
* Instead of `local.deisapp.com`, use either `local3.deisapp.com` or `local5.deisapp.com` as your hostname for accessing the cluster
30+
* Instead of `local.deisapp.com`, use either `local3.deisapp.com` or `local5.deisapp.com` as your cluster domain
3531

3632
Note that for scheduling to work properly, clusters must consist of at least 3 nodes and always have an odd number of members.
3733
For more information, see [optimal etcd cluster size](https://github.com/coreos/etcd/blob/master/Documentation/optimal-cluster-size.md).
@@ -80,20 +76,6 @@ Your Vagrant VM is accessible at `local.deisapp.com` (or `local3.deisapp.com`/`l
8076
## Testing the cluster
8177
Integration tests and corresponding documentation can be found under the `test/` folder.
8278

83-
These systemd services run the various containers which compose Deis, and can be stopped on a machine with `sudo systemctl stop servicename`.
84-
* deis-builder.service
85-
* deis-cache.service
86-
* deis-controller.service
87-
* deis-database.service
88-
* deis-discovery.service
89-
* deis-logger.service
90-
* deis-registry.service
91-
* deis-router.service
92-
93-
Logging into one of the CoreOS machines and stopping a container service should cause the same component on another CoreOS
94-
host to take over as master.
95-
Similarly, bringing down a VM should enable the services on another VM to take over as master.
96-
9779
## Install the Deis Client
9880
If you're using the latest Deis release, use `pip install deis` to install the latest [Deis Client](https://pypi.python.org/pypi/deis/) or download [pre-compiled binaries](https://github.com/deis/deis/tree/master/client#get-started).
9981

@@ -139,7 +121,6 @@ The `dev` cluster will be used as the default cluster for future `deis` commands
139121
## Clone an example application or use an existing one
140122
Example applications can be cloned from the Deis GitHub [organization](https://github.com/deis).
141123
Commonly-used example applications include [Helloworld (Dockerfile)](https://github.com/deis/helloworld), [Go](https://github.com/deis/example-go), and [Ruby](https://github.com/deis/example-ruby-sinatra).
142-
143124

144125
## Create an Application
145126
From within the application directory, create an application on the default `dev` cluster:
@@ -169,8 +150,6 @@ Configure your application with environment variables. Each config change also
169150
$ deis config:set DATABASE_URL=postgres://
170151
```
171152

172-
Coming soon: Use the integrated ETCD namespace for service discovery between applications on the same cluster.
173-
174153
## Test
175154
### Run tests
176155
Test your application by running commands inside an ephemeral Docker container.
@@ -197,14 +176,6 @@ $ deis logs
197176

198177
Use `deis run` to execute one-off commands and explore the deployed container. Coming soon: `deis attach` to jump into a live container.
199178

200-
## Known Issues
201-
202-
We have sometimes seen the VM reboot while doing `make build` against a
203-
Vagrant virtual machine. If you see this issue using a recent version of
204-
Vagrant and the current master version of Deis, please add to the issue
205-
report at https://github.com/coreos/coreos-vagrant/issues/68 to help us
206-
pin it down.
207-
208179
## Troubleshooting
209180

210181
Common issues that users have run into when provisioning Deis are detailed below.
@@ -215,9 +186,6 @@ Did you remember to add your SSH key to the ssh-agent? `ssh-agent -L` should lis
215186
#### When running a `make` action - 'All the given peers are not reachable (Tried to connect to each peer twice and failed)'
216187
The most common cause of this issue is that a [new discovery URL](https://discovery.etcd.io/new) wasn't generated and updated in [contrib/coreos/user-data](contrib/coreos/user-data) before the cluster was launched. Each Deis cluster must have a unique discovery URL, else there will be entries for old hosts that etcd will try and fail to connect to. Destroy and relaunch the cluster, ensuring to use a fresh discovery URL.
217188

218-
#### Various NFS issues, specifically an 'access denied' error
219-
The easiest workaround for this is to use rsync instead of NFS. In the Vagrantfile, swap out the `config.vm.synced_folder` line for the commented version.
220-
221189
#### Scaling an app doesn't work, and/or the app shows 'Welcome to nginx!'
222190
This means the controller failed to submit jobs for the app to fleet. `fleetctl status deis-controller` will show detailed error information, but the most common cause of this is that the cluster was created with the wrong SSH key for the `--auth` parameter. The key supplied with the `--auth` parameter must be the same key that was used to provision the Deis servers. If you suspect this to be the issue, you'll need to `clusters:destroy` the cluster and recreate it, along with the app.
223191

0 commit comments

Comments
 (0)