github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/operator/scheduler/get-config.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: operator scheduler get-config'
     4  description: |
     5    Display the current scheduler configuration.
     6  ---
     7  
     8  # Command: operator scheduler get-config
     9  
    10  The scheduler operator get-config command is used to view the current scheduler
    11  configuration.
    12  
    13  ## Usage
    14  
    15  ```plaintext
    16  nomad operator scheduler get-config [options]
    17  ```
    18  
    19  If ACLs are enabled, this command requires a token with the `operator:read`
    20  capability.
    21  
    22  ## General Options
    23  
    24  @include 'general_options_no_namespace.mdx'
    25  
    26  ## Get Config Options
    27  
    28  - `-json`: Output the scheduler config in its JSON format.
    29  
    30  - `-t`: Format and display the scheduler config using a Go template.
    31  
    32  ## Examples
    33  
    34  Display the current scheduler configuration:
    35  
    36  ```shell-session
    37  $ nomad operator scheduler get-config
    38  Scheduler Algorithm           = binpack
    39  Memory Oversubscription       = false
    40  Reject Job Registration       = false
    41  Pause Eval Broker             = false
    42  Preemption System Scheduler   = true
    43  Preemption Service Scheduler  = false
    44  Preemption Batch Scheduler    = false
    45  Preemption SysBatch Scheduler = false
    46  Modify Index                  = 5
    47  ```