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