diff --git a/website/source/docs/commands/init.html.md.erb b/website/source/docs/commands/init.html.md.erb new file mode 100644 index 000000000..7bd8b47f8 --- /dev/null +++ b/website/source/docs/commands/init.html.md.erb @@ -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 +``` diff --git a/website/source/layouts/docs.erb b/website/source/layouts/docs.erb index 437a62b5b..7bedde384 100644 --- a/website/source/layouts/docs.erb +++ b/website/source/layouts/docs.erb @@ -71,8 +71,11 @@