[DEV] VESSL Docs
  • Welcome to VESSL Docs!
  • GETTING STARTED
    • Overview
    • Quickstart
    • End-to-end Guides
      • CLI-driven Workflow
      • SDK-driven Workflow
  • USER GUIDE
    • Organization
      • Creating an Organization
      • Organization Settings
        • Add Members
        • Set Notifications
        • Configure Clusters
        • Add Integrations
        • Billing Information
    • Project
      • Creating a Project
      • Project Overview
      • Project Repository & Project Dataset
    • Clusters
      • Cluster Integrations
        • Fully Managed Cloud
        • Personal Laptops
        • On-premise Clusters
        • Private Cloud (AWS)
      • Cluster Monitoring
      • Cluster Administration
        • Resource Specs
        • Access Control
        • Quotas and Limits
        • Remove Cluster
    • Dataset
      • Adding New Datasets
      • Managing Datasets
      • Tips & Limitations
    • Experiment
      • Creating an Experiment
      • Managing Experiments
      • Experiment Results
      • Distributed Experiments
      • Local Experiments
    • Model Registry
      • Creating a Model
      • Managing Models
    • Sweep
      • Creating a Sweep
      • Sweep Results
    • Workspace
      • Creating a Workspace
      • Exploring Workspaces
      • SSH Connection
      • Downloading / Attaching Datasets
      • Running a Server Application
      • Tips & Limitations
      • Building Custom Images
    • Serve
      • Quickstart
      • Serve Web Workflow
        • Monitoring Dashboard
        • Service Logs
        • Service Revisions
        • Service Rollouts
      • Serve YAML Workflow
        • YAML Schema Reference
    • Commons
      • Running Spot Instances
      • Volume Mount
  • API REFERENCE
    • What is the VESSL CLI/SDK?
    • CLI
      • Getting Started
      • vessl run
      • vessl cluster
      • vessl dataset
      • vessl experiment
      • vessl image
      • vessl model
      • vessl organization
      • vessl project
      • vessl serve
      • vessl ssh-key
      • vessl sweep
      • vessl volume
      • vessl workspace
    • Python SDK
      • Integrations
        • Keras
        • TensorBoard
      • Utilities API
        • configure
        • vessl.init
        • vessl.log
          • vessl.Image
          • vessl.Audio
        • vessl.hp.update
        • vessl.progress
        • vessl.upload
        • vessl.finish
      • Dataset API
      • Experiment API
      • Cluster API
      • Image API
      • Model API
        • Model Serving API
      • Organization API
      • Project API
      • Serving API
      • SSH Key API
      • Sweep API
      • Volume API
      • Workspace API
    • Rate Limits
  • TROUBLESHOOTING
    • GitHub Issues
    • VESSL Flare
Powered by GitBook
On this page
  • create_cluster
  • read_cluster
  • list_clusters
  • delete_cluster
  • rename_cluster
  • list_cluster_nodes
  1. API REFERENCE
  2. Python SDK

Cluster API

create_cluster

vessl.create_cluster(
   param: CreateClusterParam
)

Create a VESSL cluster by installing VESSL agent to given Kubernetes namespace. If you want to override the default organization, then pass organization_name to param.

Args

  • param (CreateClusterParam) : Create cluster parameter.

Example

vessl.install_cluster(
    param=vessl.CreateClusterParam(
        cluster_name="foo",
        ...
    ),
)

read_cluster

vessl.read_cluster(
   cluster_name: str, **kwargs
)

Read cluster in the default organization. If you want to override the default organization, then pass organization_name as **kwargs.

Args

  • cluster_name (str) : Cluster name.

Example

vessl.read_cluster(
    cluster_name="seoul-cluster",
)

list_clusters

vessl.list_clusters(
   **kwargs
)

List clusters in the default organization. If you want to override the default organization, then pass organization_name as **kwargs.

Example

vessl.list_clusters()

delete_cluster

vessl.delete_cluster(
   cluster_id: int, **kwargs
)

Delete custom cluster in the default organization. If you want to override the default organization, then pass organization_name as **kwargs.

Args

  • cluster_id (int) : Cluster ID.

Example

vessl.delete_cluster(
    cluster_id=1,
)

rename_cluster

vessl.rename_cluster(
   cluster_id: int, new_cluster_name: str, **kwargs
)

Rename custom cluster in the default organization. If you want to override the default organization, then pass organization_name as **kwargs.

Args

  • cluster_id (int) : Cluster ID.

  • new_cluster_name (str) : Cluster name to change.

Example

vessl.rename_cluster(
    cluster_id=1,
    new_cluster_name="seoul-cluster-2",
)

list_cluster_nodes

vessl.list_cluster_nodes(
   cluster_id: int, **kwargs
)

List custom cluster nodes in the default organization. If you want to override the default organization, then pass organization_name as **kwargs.

Args

  • cluster_id (int) : Cluster ID.

Example

vessl.list_cluster_nodes(
    cluster_id=1,
)
PreviousExperiment APINextImage API

Last updated 1 year ago