mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 11:55:42 +03:00
* 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
44 lines
971 B
Plaintext
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
|