open-nomad/website/source/docs/commands/init.html.md.erb
2015-09-22 16:11:11 -07:00

23 lines
519 B
Plaintext

---
layout: "docs"
page_title: "Commands: init"
sidebar_current: "docs-commands-init"
description: >
Toggle drain mode for a given node.
---
# Command: init
The `init` command creates a [jobspec](/docs/jobspec/) template in the current
directory that demonstrates some common configurations for tasks, tasks groups,
runtime constraints, and resource allocation.
Please refer to the [jobspec](/docs/jobspec/) and [drivers](/docs/drivers/)
pages to learn how to customize the template.
## Usage
```
nomad init
```