339 lines
9.5 KiB
JSON
339 lines
9.5 KiB
JSON
{
|
|
"Affinities": null,
|
|
"AllAtOnce": false,
|
|
"Constraints": null,
|
|
"ConsulNamespace": "",
|
|
"CreateIndex": 13925181,
|
|
"Datacenters": [
|
|
"dc1"
|
|
],
|
|
"DispatchIdempotencyToken": "",
|
|
"Dispatched": false,
|
|
"ID": "democratic-csi-local",
|
|
"JobModifyIndex": 13925215,
|
|
"Meta": null,
|
|
"ModifyIndex": 13925215,
|
|
"Multiregion": null,
|
|
"Name": "democratic-csi-local",
|
|
"Namespace": "default",
|
|
"NodePool": "default",
|
|
"NomadTokenID": "",
|
|
"ParameterizedJob": null,
|
|
"ParentID": "",
|
|
"Payload": null,
|
|
"Periodic": null,
|
|
"Priority": 50,
|
|
"Region": "global",
|
|
"Spreads": null,
|
|
"Stable": false,
|
|
"Status": "running",
|
|
"StatusDescription": "",
|
|
"Stop": false,
|
|
"SubmitTime": 1755193604654316261,
|
|
"TaskGroups": [
|
|
{
|
|
"Affinities": null,
|
|
"Constraints": null,
|
|
"Consul": {
|
|
"Cluster": "default",
|
|
"Namespace": "",
|
|
"Partition": ""
|
|
},
|
|
"Count": 1,
|
|
"Disconnect": null,
|
|
"EphemeralDisk": {
|
|
"Migrate": false,
|
|
"SizeMB": 300,
|
|
"Sticky": false
|
|
},
|
|
"MaxClientDisconnect": null,
|
|
"Meta": null,
|
|
"Migrate": null,
|
|
"Name": "controller",
|
|
"Networks": null,
|
|
"PreventRescheduleOnLost": false,
|
|
"ReschedulePolicy": null,
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 15000000000,
|
|
"Interval": 1800000000000,
|
|
"Mode": "fail",
|
|
"RenderTemplates": false
|
|
},
|
|
"Scaling": null,
|
|
"Services": null,
|
|
"ShutdownDelay": null,
|
|
"Spreads": null,
|
|
"StopAfterClientDisconnect": null,
|
|
"Tasks": [
|
|
{
|
|
"Actions": null,
|
|
"Affinities": null,
|
|
"Artifacts": null,
|
|
"CSIPluginConfig": {
|
|
"HealthTimeout": 30000000000,
|
|
"ID": "org.democratic-csi.local-hostpath",
|
|
"MountDir": "/csi",
|
|
"StagePublishBaseDir": "/local/csi",
|
|
"Type": "controller"
|
|
},
|
|
"Config": {
|
|
"volumes": [
|
|
"local/config:/config:ro"
|
|
],
|
|
"args": [
|
|
"--csi-version=1.5.0",
|
|
"--csi-name=org.democratic-csi.local-hostpath",
|
|
"--driver-config-file=/config/driver-config-file.yaml",
|
|
"--log-level=info",
|
|
"--csi-mode=controller",
|
|
"--server-socket=/csi/csi.sock"
|
|
],
|
|
"image": "democraticcsi/democratic-csi:latest"
|
|
},
|
|
"Constraints": null,
|
|
"Consul": null,
|
|
"DispatchPayload": null,
|
|
"Driver": "docker",
|
|
"Env": null,
|
|
"Identities": null,
|
|
"Identity": {
|
|
"Audience": [
|
|
"nomadproject.io"
|
|
],
|
|
"ChangeMode": "",
|
|
"ChangeSignal": "",
|
|
"Env": false,
|
|
"File": false,
|
|
"Filepath": "",
|
|
"Name": "default",
|
|
"ServiceName": "",
|
|
"TTL": 0
|
|
},
|
|
"KillSignal": "",
|
|
"KillTimeout": 5000000000,
|
|
"Kind": "",
|
|
"Leader": false,
|
|
"Lifecycle": null,
|
|
"LogConfig": {
|
|
"Disabled": false,
|
|
"MaxFileSizeMB": 10,
|
|
"MaxFiles": 10
|
|
},
|
|
"Meta": null,
|
|
"Name": "controller",
|
|
"Resources": {
|
|
"CPU": 256,
|
|
"Cores": 0,
|
|
"Devices": null,
|
|
"DiskMB": 0,
|
|
"IOPS": 0,
|
|
"MemoryMB": 128,
|
|
"MemoryMaxMB": 0,
|
|
"NUMA": null,
|
|
"Networks": null,
|
|
"SecretsMB": 0
|
|
},
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 15000000000,
|
|
"Interval": 1800000000000,
|
|
"Mode": "fail",
|
|
"RenderTemplates": false
|
|
},
|
|
"ScalingPolicies": null,
|
|
"Schedule": null,
|
|
"Services": null,
|
|
"ShutdownDelay": 0,
|
|
"Templates": [
|
|
{
|
|
"ChangeMode": "restart",
|
|
"ChangeScript": null,
|
|
"ChangeSignal": "",
|
|
"DestPath": "local/config/driver-config-file.yaml",
|
|
"EmbeddedTmpl": "driver: local-hostpath\ninstance_id: {{ env \"node.unique.id\" }}\nlocal-hostpath:\n shareBasePath: \"/tmp/democratic-csi-local-hostpath\"\n controllerBasePath: \"/tmp/democratic-csi-local-hostpath\"\n dirPermissionsMode: \"0755\"\n dirPermissionsUser: 0\n dirPermissionsGroup: 0\n",
|
|
"Envvars": false,
|
|
"ErrMissingKey": false,
|
|
"Gid": null,
|
|
"LeftDelim": "{{",
|
|
"Once": false,
|
|
"Perms": "0644",
|
|
"RightDelim": "}}",
|
|
"SourcePath": "",
|
|
"Splay": 5000000000,
|
|
"Uid": null,
|
|
"VaultGrace": 0,
|
|
"Wait": null
|
|
}
|
|
],
|
|
"User": "",
|
|
"Vault": null,
|
|
"VolumeMounts": null
|
|
}
|
|
],
|
|
"Update": null,
|
|
"Volumes": null
|
|
},
|
|
{
|
|
"Affinities": null,
|
|
"Constraints": null,
|
|
"Consul": {
|
|
"Cluster": "default",
|
|
"Namespace": "",
|
|
"Partition": ""
|
|
},
|
|
"Count": 1,
|
|
"Disconnect": null,
|
|
"EphemeralDisk": {
|
|
"Migrate": false,
|
|
"SizeMB": 300,
|
|
"Sticky": false
|
|
},
|
|
"MaxClientDisconnect": null,
|
|
"Meta": null,
|
|
"Migrate": null,
|
|
"Name": "nodes",
|
|
"Networks": null,
|
|
"PreventRescheduleOnLost": false,
|
|
"ReschedulePolicy": null,
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 15000000000,
|
|
"Interval": 1800000000000,
|
|
"Mode": "fail",
|
|
"RenderTemplates": false
|
|
},
|
|
"Scaling": null,
|
|
"Services": null,
|
|
"ShutdownDelay": null,
|
|
"Spreads": null,
|
|
"StopAfterClientDisconnect": null,
|
|
"Tasks": [
|
|
{
|
|
"Actions": null,
|
|
"Affinities": null,
|
|
"Artifacts": null,
|
|
"CSIPluginConfig": {
|
|
"HealthTimeout": 30000000000,
|
|
"ID": "org.democratic-csi.local-hostpath",
|
|
"MountDir": "/csi",
|
|
"StagePublishBaseDir": "/local/csi",
|
|
"Type": "node"
|
|
},
|
|
"Config": {
|
|
"volumes": [
|
|
"local/config:/config:ro",
|
|
"/tmp/democratic-csi-local-hostpath:/tmp/democratic-csi-local-hostpath:rshared"
|
|
],
|
|
"args": [
|
|
"--csi-version=1.5.0",
|
|
"--csi-name=org.democratic-csi.local-hostpath",
|
|
"--driver-config-file=/config/driver-config-file.yaml",
|
|
"--log-level=info",
|
|
"--csi-mode=node",
|
|
"--server-socket=/csi/csi.sock"
|
|
],
|
|
"image": "democraticcsi/democratic-csi:latest",
|
|
"privileged": true
|
|
},
|
|
"Constraints": null,
|
|
"Consul": null,
|
|
"DispatchPayload": null,
|
|
"Driver": "docker",
|
|
"Env": null,
|
|
"Identities": null,
|
|
"Identity": {
|
|
"Audience": [
|
|
"nomadproject.io"
|
|
],
|
|
"ChangeMode": "",
|
|
"ChangeSignal": "",
|
|
"Env": false,
|
|
"File": false,
|
|
"Filepath": "",
|
|
"Name": "default",
|
|
"ServiceName": "",
|
|
"TTL": 0
|
|
},
|
|
"KillSignal": "",
|
|
"KillTimeout": 5000000000,
|
|
"Kind": "",
|
|
"Leader": false,
|
|
"Lifecycle": null,
|
|
"LogConfig": {
|
|
"Disabled": false,
|
|
"MaxFileSizeMB": 10,
|
|
"MaxFiles": 10
|
|
},
|
|
"Meta": null,
|
|
"Name": "node",
|
|
"Resources": {
|
|
"CPU": 256,
|
|
"Cores": 0,
|
|
"Devices": null,
|
|
"DiskMB": 0,
|
|
"IOPS": 0,
|
|
"MemoryMB": 128,
|
|
"MemoryMaxMB": 0,
|
|
"NUMA": null,
|
|
"Networks": null,
|
|
"SecretsMB": 0
|
|
},
|
|
"RestartPolicy": {
|
|
"Attempts": 2,
|
|
"Delay": 15000000000,
|
|
"Interval": 1800000000000,
|
|
"Mode": "fail",
|
|
"RenderTemplates": false
|
|
},
|
|
"ScalingPolicies": null,
|
|
"Schedule": null,
|
|
"Services": null,
|
|
"ShutdownDelay": 0,
|
|
"Templates": [
|
|
{
|
|
"ChangeMode": "restart",
|
|
"ChangeScript": null,
|
|
"ChangeSignal": "",
|
|
"DestPath": "local/config/driver-config-file.yaml",
|
|
"EmbeddedTmpl": "driver: local-hostpath\ninstance_id: {{ env \"node.unique.id\" }}\nlocal-hostpath:\n shareBasePath: \"/tmp/democratic-csi-local-hostpath\"\n controllerBasePath: \"/tmp/democratic-csi-local-hostpath\"\n dirPermissionsMode: \"0755\"\n dirPermissionsUser: 0\n dirPermissionsGroup: 0\n",
|
|
"Envvars": false,
|
|
"ErrMissingKey": false,
|
|
"Gid": null,
|
|
"LeftDelim": "{{",
|
|
"Once": false,
|
|
"Perms": "0644",
|
|
"RightDelim": "}}",
|
|
"SourcePath": "",
|
|
"Splay": 5000000000,
|
|
"Uid": null,
|
|
"VaultGrace": 0,
|
|
"Wait": null
|
|
}
|
|
],
|
|
"User": "",
|
|
"Vault": null,
|
|
"VolumeMounts": null
|
|
}
|
|
],
|
|
"Update": null,
|
|
"Volumes": null
|
|
}
|
|
],
|
|
"Type": "system",
|
|
"UI": null,
|
|
"Update": {
|
|
"AutoPromote": false,
|
|
"AutoRevert": false,
|
|
"Canary": 0,
|
|
"HealthCheck": "",
|
|
"HealthyDeadline": 0,
|
|
"MaxParallel": 0,
|
|
"MinHealthyTime": 0,
|
|
"ProgressDeadline": 0,
|
|
"Stagger": 0
|
|
},
|
|
"VaultNamespace": "",
|
|
"Version": 1,
|
|
"VersionTag": null
|
|
} |