mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Added docs page for init command
This commit is contained in:
22
website/source/docs/commands/init.html.md.erb
Normal file
22
website/source/docs/commands/init.html.md.erb
Normal 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
|
||||
```
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user