open-nomad/website/source/docs/agent/configuration/sentinel.html.md

1.1 KiB

layout page_title sidebar_current description
docs sentinel Stanza - Agent Configuration docs-agent-configuration-sentinel The "sentinel" stanza configures the Nomad agent for Sentinel policies and tune various parameters.

sentinel Stanza

Placement **sentinel**

The sentinel stanza configures the Sentinel policy engine and tunes various parameters.

sentinel {
    import "custom-plugin" {
        path = "/usr/bin/sentinel-custom-plugin"
        args = ["-verbose", "foo"]
    }
}

sentinel Parameters

  • import (Import: nil) - Specifies a plugin that should be made available for importing by Sentinel policies. The name of the import matches the name that can be imported.

import Parameters

  • path (string: "") - Specifies the path to the import plugin. Must be executable by Nomad.

  • args (array<string>: []) - Specifies arguments to pass to the plugin when starting it.