github.com/smintz/nomad@v0.8.3/website/source/docs/commands/namespace/apply.html.md.erb (about) 1 --- 2 layout: "docs" 3 page_title: "Commands: namespace apply" 4 sidebar_current: "docs-commands-namespace-apply" 5 description: > 6 The namespace apply command is used create or update a namespace. 7 --- 8 9 # Command: namespace apply 10 11 The `namespace apply` command is used create or update a namespace. 12 13 ~> Namespace commands are new in Nomad 0.7 and are only available with Nomad 14 Enterprise. 15 16 ## Usage 17 18 ``` 19 nomad namespace apply [options] <namespace> 20 ``` 21 22 The `namespace apply` command requires the name of the namespace to be created 23 or updated. 24 25 ## General Options 26 27 <%= partial "docs/commands/_general_options" %> 28 29 ## Apply Options 30 31 * `-quota` : An optional quota to apply to the namespace. 32 33 * `-description` : An optional human readable description for the namespace. 34 35 ## Examples 36 37 Create a namespace with a quota 38 39 ``` 40 $ nomad namespace apply -description "Prod API servers" -quota prod api-prod 41 Successfully applied namespace "api-prod"! 42 ```