GraphQL Configuration Guide for Tensor One
When configuring your environment using GraphQL, it’s important to provide all required arguments to ensure successful deployment and operation of Clusters or Templates.Required Configuration Arguments
Below is a list of key configuration fields commonly used in GraphQL mutations for launching resources in Tensor One.containerDiskInGb
- Description: Sets the disk size allocated for the container (in GB)
- Use Case: Stores the OS, software, and temporary data
- Type:
Integer
- Example:
dockerArgs
- Description: Custom command to run when the container starts. Overrides the default
CMD
orENTRYPOINT
. - Use Case: Keep the container running, run startup scripts, or install dependencies
- Type:
String
- Example:
env
- Description: Environment variables as key-value pairs
- Use Case: Set runtime configs, secrets, file paths, or external URLs
- Type:
Dictionary
orObject
- Example:
imageName
- Description: The Docker image to use (optionally include tag)
- Use Case: Define the base runtime environment
- Type:
String
- Example:
name
- Description: A unique name to identify the container or Template
- Use Case: Useful for reference in logs, API calls, and dashboards
- Type:
String
- Example:
volumeInGb
- Description: Size (in GB) of the persistent storage volume
- Use Case: Stores data across restarts or redeployments
- Type:
Integer
- Example:
Final Notes
- All required fields must be included in your GraphQL mutation to avoid deployment errors.
- Some optional fields may also be available depending on your use case, such as:
volumeMountPath
readme
ports