tensorone logo

SDKs

Overview

Tensor One SDKs provide developers with tools to use the Tensor One API for creating serverless functions and managing infrastructure. They enable custom logic integration, simplify deployments, and allow for programmatic infrastructure management.


Interacting with Serverless Endpoints

Once deployed, serverless functions is exposed as an Endpoints, you can allow external applications to interact with them through HTTP requests.

Interact with Serverless Endpoints:

Your Serverless Endpoints works similarlly to an HTTP request. You will need to provide an Endpoint Id and a reference to your API key to complete requests.

Infrastructure management

The Tensor One SDK facilitates the programmatic creation, configuration, and management of various infrastructure components, including Clusters, Templates, and Endpoints.

Managing Clusters

Clusters are the fundamental building blocks in Tensor One, representing isolated environments for running applications.

Manage Clusters:

  1. Create a Cluster: Use the SDK to instantiate a new Cluster with the desired configuration.
  2. Configure the Cluster: Adjust settings such as GPU, memory allocation, and network access according to your needs.
  3. Deploy Applications: Deploy your applications or services within the Cluster.
  4. Monitor and scale: Utilize the SDK to monitor Cluster performance and scale resources as required.

Manage Templates and Endpoints

Templates define the base environment for Clusters, while Endpoints enable external access to services running within Clusters.

Use Templates and Endpoints:

  1. Create a Template: Define a Template that specifies the base configuration for Clusters.
  2. Instantiate Clusters from Templates: Use the Template to create Clusters with a consistent environment.
  3. Expose Services via Endpoints: Configure Endpoints to allow external access to applications running in Clusters.
Previous
Secrets