Files
nomad/website/content/docs/commands/quota/apply.mdx
Aimee Ukasick 23fd87d9c9 Docs: Commands section move "General options" to page bottom (#26001)
* sectionless files plus acl section

* alloc section

* config, deployment sections

* job section

* licence, namespace

* node, node-pool

* operator

* plugin, quota, recommendation

* scaling, sentinel, server, service, system, var, volume

* Add "ENT" label to left nav for enterprise commands

* job tag break into separate folder and files; update options header
2025-06-12 14:31:38 -05:00

44 lines
971 B
Plaintext

---
layout: docs
page_title: 'nomad quota apply command reference'
description: |
The `nomad quota apply` command creates or updates a Nomad Enterprise quota specification.
---
# `nomad quota apply` command reference
The `quota apply` command is used to create or update [quota specifications][].
<EnterpriseAlert product="nomad"/>
## Usage
```plaintext
nomad quota apply [options] <path>
```
The `quota apply` command requires the path to the specification file. The
specification can be read from stdin by setting the path to "-".
If ACLs are enabled, this command requires a token with the `quota:write`
capability.
## Options
- `-json`: Parse the input as a JSON quota specification.
## Examples
Create a new quota specification:
```shell-session
$ nomad quota apply my-quota.hcl
Successfully applied quota specification "my-quota"!
```
## General options
@include 'general_options.mdx'
[quota specifications]: /nomad/docs/other-specifications/quota