mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Persistent server config
This commit is contained in:
@@ -1,16 +1,30 @@
|
||||
This package provides a convenient way to create a local Nomad cluster for
|
||||
testing and development.
|
||||
|
||||
# Server
|
||||
|
||||
In order to create the cluster, first start the Nomad agent as follows from this
|
||||
directory:
|
||||
|
||||
## Non-persistent server
|
||||
|
||||
```
|
||||
nomad agent -dev -config docker-privileged.conf
|
||||
```
|
||||
|
||||
This configuration allows the Docker driver to start containers with
|
||||
The configuration allows the Docker driver to start containers with
|
||||
`Privileged` parameter.
|
||||
|
||||
## Persistent Server
|
||||
|
||||
To start a server that can be shutdown and restarted run the following:
|
||||
|
||||
```
|
||||
nomad agent -config persistent-server.conf
|
||||
```
|
||||
|
||||
# Clients
|
||||
|
||||
Next, modify the count of client.nomad to run the desired number of Nomad
|
||||
clients and then run the job.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user