Create Workspace Job
create_workspace_jobCreate a job in a Coalesce workspace to specify nodes to run together using include and exclude selectors.
Instructions
Create a new job in a Coalesce workspace. Jobs define which nodes to run together.
Args:
workspaceID (string, required): The workspace ID
name (string, required): Job name
includeSelector (string, required): Node selector. Format: '{ location: LOC name: NAME } OR { location: LOC name: NAME }'. Use empty string to include nothing
excludeSelector (string, required): Node exclusion selector. Same format as includeSelector. Use empty string to exclude nothing
Returns: Created job with assigned ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the job | |
| workspaceID | Yes | The workspace ID | |
| excludeSelector | Yes | Node exclusion selector string. Same format as includeSelector. Use empty string to exclude nothing. | |
| includeSelector | Yes | Node selector string. Format: '{ location: LOC name: NAME } OR { location: LOC name: NAME }'. Use empty string to include nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No |