-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
99 lines (91 loc) · 2.51 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
options:
# Resource URLs
base-api-url:
type: string
default:
description: |
The cluster-api url.
# Slurm related settings
sbatch-path:
type: string
default: /usr/bin/sbatch
description: |
Absolute path to the sbatch command
scontrol-path:
type: string
default: /usr/bin/scontrol
description: |
Absolute path to the scontrol command
# Auth related settings
oidc-domain:
type: string
default:
description: |
OIDC provider domain
oidc-audience:
type: string
default:
description: |
OIDC provider audience
oidc-client-id:
type: string
default:
description: |
Client ID used to issue JWTs
oidc-client-secret:
type: string
default:
description: |
Secret to protect OIDC client resources
slurm-user-mapper:
type: string
default:
description: |
Type of user-mapper to use.
# Other settings
sentry-dsn:
type: string
default:
description: |
The client url for sending error events to sentry
x-slurm-user-name:
type: string
default: slurm
description: |
The default username to use for requests to the Slurm REST API
write-submission-files:
type: boolean
default: true
description: |
Define if the job script files will be written to the submit directory
# Tasks
task-jobs-interval-seconds:
type: int
default:
description: |
Seconds between the job task runs, to submit pending and check running jobs
task-garbage-collection-hour:
type: int
default:
description: |
Hour of the day when garbage-collection tasks should be triggered
# Plugins
plugins-install:
type: string
default:
description: >
A string used the install extra plugins on the agent using pip.
This will be used after `pip install`, so the version and custom arguments
can be provided as well.
Example usage:
$ juju config jobbergate-agent custom-config="agent-plugin==version --index-url 'https://[email protected]:443/artifactory/api/pypi/python/simple' --trusted-host=XYZ-DOMAIN.com"
plugins-config:
type: string
default:
description: >
User supplied configuration for the plugins installed.
This will be used as headed of the .env file that configures jobbergate-agent.
With that, any custom configuration can be provided for the installed plugin.
Example:
JOBBERGATE_AGENT_LDAP_URL=<...>
JOBBERGATE_AGENT_LDAP_CREDENTIALS=<...>