open-nomad/website/content/docs/commands/quota/init.mdx
2021-01-05 19:02:39 -05:00

35 lines
642 B
Plaintext

---
layout: docs
page_title: 'Commands: quota init'
sidebar_title: init
description: |
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.
~> Quota commands are new in Nomad 0.7 and are only available with Nomad
Enterprise.
## Usage
```plaintext
nomad quota init
```
## Init Options
- `-json`: Create an example JSON quota specification.
## Examples
Create an example quota specification:
```shell-session
$ nomad quota init
Example quota specification written to spec.hcl
```