open-nomad/website/content/docs/commands/quota/init.mdx

35 lines
642 B
Plaintext
Raw Normal View History

2017-10-13 21:02:30 +00:00
---
2020-02-06 23:45:31 +00:00
layout: docs
page_title: 'Commands: quota init'
sidebar_title: init
description: |
2017-10-13 21:02:30 +00:00
Generate an example quota specification.
---
# Command: quota init
The `quota init` command is used to create an example quota specification file
that can be used as a starting point to customize further.
2018-03-22 20:39:18 +00:00
~> Quota commands are new in Nomad 0.7 and are only available with Nomad
Enterprise.
2017-10-13 21:02:30 +00:00
## Usage
```plaintext
2017-10-13 21:02:30 +00:00
nomad quota init
```
## Init Options
- `-json`: Create an example JSON quota specification.
2017-10-13 21:02:30 +00:00
## Examples
Create an example quota specification:
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad quota init
2017-10-13 21:02:30 +00:00
Example quota specification written to spec.hcl
```