block-quote On this pagechevron-down
copy Copy chevron-down
API REFERENCE chevron-right Python SDK Cluster API
Copy 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
Copy vessl . install_cluster (
param = vessl . CreateClusterParam (
cluster_name = " foo " ,
...
),
) 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
List clusters in the default organization. If you want to override the default organization, then pass organization_name as **kwargs.
Example
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
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
list_cluster_nodes
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