INPUT_OBJECT

CreateCluster

This API creates an edge cluster for this core

Example: mutation createCluster { createCluster (input: { name: "YOUR_CLUSTER_NAME", allowedEngines: ["all"], dockerCredentials: {}, type: RT, containerTag: "YOUR_CONTAINER_TAG", paused: false, memorySize: "20gb", storageSize: "10gb", bypassAllowedEngines: true, collaborators: [], subscriptions: [], tags: ["aiware-agent"], status: active, mediaStorage: core, mediaStoragePath: "", serviceToken: "fake-token", edgeVersion: 3, } ) { id } }

link GraphQL Schema definition

1input CreateCluster {
3
2name: String!
5
4allowedEngines: [String]!
7
6dockerCredentials: JSONData!
9
8type: ClusterType
11
10edgeVersion: Int
13
12containerTag: String
15
14paused: Boolean
19
16# Specify memory size in raw bytes or in human-readable
17# format such as 8gb, 1024mb, etc.
18memorySize: String
23
20# Specify storage size in raw bytes or in human-readable
21# format such as 8gb, 1024mb, etc.
22storageSize: String
25
24bypassAllowedEngines: Boolean
29
26# Permissions granted to other organizations. Only the cluster owner
27# can view or edit this field.
28collaborators: [CreateClusterCollaborator!]
32
30# Set subscriptions on the cluster.
31subscriptions: [CreateClusterSubscription]
35
33# Tags for cluster
34tags: [String]
38
36# Status for cluster
37status: ClusterStatus
41
39# Update the cluster config
40clusterConfig: JSONData
44
42# media storage type (edge or core)
43mediaStorage: MediaStorageOption
47
45# Media storage path. Optional -- use only for edge.
46mediaStoragePath: String
51
48# Optionally, specify a time at which the edge cluster should
49# be restarted daily. Applies only to edge clusters.
50restartTimeUTC: Time
54
52# Optionally, specify an api-token for cluster
53serviceToken: String
57
55# ID of the organization. Only Veritone platform components can set this value.
56organizationId: ID
61
58# Indicates if this cluster represents a cluster group or an individual cluster.
59# Default is false - legacy normal cluster
60isGroup: Boolean
64
62# ID of the cluster group which this cluster belongs
63clusterGroupId: ID
67
65# ID of the core that the cluster is pulling jobs from
66coreId: String
68}

link Required by

This element is not required by anyone