Files
nomad/website/content/docs/commands/operator/scheduler/get-config.mdx
Tim Gross b209fc47da docs: move operator subcommands under their own trees (#13677)
The sidebar navigation tree for the `operator` sub-sub commands is
getting cluttered and we have a new set of commands coming to support
secure variables keyring as well. Move these all under their own
subtrees.
2022-07-11 14:00:24 -04:00

48 lines
1.1 KiB
Plaintext

---
layout: docs
page_title: 'Commands: operator scheduler get-config'
description: |
Display the current scheduler configuration.
---
# Command: operator scheduler get-config
The scheduler operator get-config command is used to view the current scheduler
configuration.
## Usage
```plaintext
nomad operator scheduler get-config [options]
```
If ACLs are enabled, this command requires a token with the `operator:read`
capability.
## General Options
@include 'general_options_no_namespace.mdx'
## Get Config Options
- `-json`: Output the scheduler config in its JSON format.
- `-t`: Format and display the scheduler config using a Go template.
## Examples
Display the current scheduler configuration:
```shell-session
$ nomad operator scheduler get-config
Scheduler Algorithm = binpack
Memory Oversubscription = false
Reject Job Registration = false
Pause Eval Broker = false
Preemption System Scheduler = true
Preemption Service Scheduler = false
Preemption Batch Scheduler = false
Preemption SysBatch Scheduler = false
Modify Index = 5
```