nomad-dotnet-driver

command module
v0.0.0-...-47f0432 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

README

Nomad Dotnet Driver Plugin

Nomad Task Driver for Dotnet Core Nomad task driver plugins.

This project is the counterpart of Nomad Java Driver for Dotnet

Requirements

  • Go v1.18 or later (to compile the plugin)
  • Nomad v0.9+ (to run the plugin)

Deploying Driver Plugins in Nomad

The initial version of the skeleton is a simple task that outputs a greeting. You can try it out by starting a Nomad agent and running the job provided in the example folder:

$ make build
$ nomad agent -dev -config=./example/agent.hcl -plugin-dir=$(pwd)

# in another shell
$ nomad run ./example/example.nomad
$ nomad logs <ALLOCATION ID>

Dotnet Job Configuration

As you may know, we can use nomad to run task without traditional containers (Docker, OCI...) and instead use OS-level or Runtime-level isolations. CLR as dotnet runtime, facilitates some isolations, for example thread limitations and GC memory restrictions. You can use both isolations within Nomad job configurations. The dotnet command line configuration for running the process is ported here in the 3 category of Gc config, Threading config and globalization config.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL