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
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
List clusters in the default organization. If you want to override the default organization, then pass organization_name as **kwargs.
Example
delete_cluster
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_cluster
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
Last updated