mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
and update some related pages Co-authored-by: Aimee Ukasick <aimee.ukasick@hashicorp.com> Co-authored-by: Tim Gross <tgross@hashicorp.com>
35 lines
664 B
Plaintext
35 lines
664 B
Plaintext
---
|
|
layout: docs
|
|
page_title: 'Commands: quota 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 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
|
|
```
|
|
|
|
[quota specification]: /nomad/docs/other-specifications/quota
|