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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
922 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 list'
description: |
2017-10-13 21:02:30 +00:00
The quota list command is used to list available quota specifications.
---
# Command: quota list
The `quota list` command is used to list available quota specifications.
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 list
```
If ACLs are enabled, this command requires a token with the `quota:read`
capability. Any quotas applied to namespaces that the token does not have
access to will be filtered from the results.
2017-10-13 21:02:30 +00:00
## General Options
2020-02-06 23:45:31 +00:00
@include 'general_options.mdx'
2017-10-13 21:02:30 +00:00
## List Options
- `-json`: Output the quota specifications in a JSON format.
2017-10-13 21:02:30 +00:00
- `-t`: Format and display the quotas specifications using a Go template.
2017-10-13 21:02:30 +00:00
## Examples
List all quota specifications:
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad quota list
2017-10-13 21:02:30 +00:00
Name Description
default Limit the shared default namespace
```