Added docs page for init command

This commit is contained in:
Chris Bednarski
2015-09-22 16:11:11 -07:00
parent bee4fc6e7c
commit 2f17026c1e
2 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
---
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
```

View File

@@ -71,8 +71,11 @@
<li<%= sidebar_current("docs-commands-agent-info") %>>
<a href="/docs/commands/agent-info.html">agent-info</a>
</li>
<li<%= sidebar_current("docs-commands-eval-monitor") %>>
<a href="/docs/commands/eval-monitor.html">eval-monitor</a>
</li>
<li<%= sidebar_current("docs-commands-eval-monitor") %>>
<a href="/docs/commands/eval-monitor.html">eval-monitor</a>
<a href="/docs/commands/init.html">init</a>
</li>
<li<%= sidebar_current("docs-commands-node-drain") %>>
<a href="/docs/commands/node-drain.html">node-drain</a>