Rest API documentation
Cluster
Creates a cluster using auto deploy or manual mode
OK, if cluster create request was submitted successfully
Unauthorized to perform this operation
Upgrade a cluster, identified by the uuid
OK, if upgrade request is successfully issued
Unauthorized to perform this operation
Delete all cluster addons for a PMK cluster as specified by the cluster UUID
OK, if clusteraddons delete request was submitted successfully
Unauthorized to perform this operation
Provides a list of addon version for pf9-kube role on a cluster.
OK, List of addon versions.
Provides a list of supported pf9-kube roles for a cluster.
OK, List of supported roles versions.
Get the list of clusters currently setup in PMK
OK
unauthorized to perform this operation
Get details of a cluster
OK
unauthorized to perform this operation
Update the properties of a cluster specified by the cluster_uuid
OK, if cluster upgrade request was submitted successfully
Unauthorized to perform this operation
Delete a cluster from PMK as specified by the cluster UUID
OK, if cluster delete request was submitted successfully
Unauthorized to perform this operation
Get nodes of a cluster
OK
unauthorized to perform this operation
Get the kubeconfig blob for the specific cluster
The response is a blob sent with the Content-Type ‘application/octet-stream’
Unauthorized to perform this operation
Generate token to be used by web cli
OK
Unauthorized to perform this operation
Attach nodes to a cluster. In a manual deployed cluster, nodes can be added to a cluster using this API. If the cluster has no masters, multiple masters can be attached simultaneously.
OK, if the node get attached to the cluster
Unauthorized to perform this operation
Detach nodes from a cluster. In a manual deployed cluster, nodes can be removed from a cluster using this API.
OK, if the node get attached to the cluster
Unauthorized to perform this operation
Get all supported cluster addon versions for a PMK cluster as specified by the cluster UUID
OK, if supported addon versions are fetched successfully
Unauthorized to perform this operation
Get all supported addon-operator tags for a PMK cluster as specified by the cluster UUID
OK, if supported addon-operator versions are fetched successfully
Unauthorized to perform this operation
Provides a list of all the external clusters available to be added to management plane
OK, List of external clusters.
Registers an external cluster
OK, if cluster create request was submitted successfully
Unauthorized to perform this operation
Cluster could not be founds
Cluster already registered
Deregister an external cluster
OK, if cluster create request was submitted successfully
Unauthorized to perform this operation
Get the deployment YAML for a private external cluster
OK, if cluster create request was submitted successfully
Unauthorized to perform this operation
Cluster or the cluster agent could not be found
List all the nodes in a project identified by the project UUID
OK
unauthorized to perform this operation
Get details of a specific node in project, identified by the UUID
OK
unauthorized to perform this operation
Updates the properties of the node specified by the node UUID
Currently, only the cluster property for a node can be modified and its primary usage is to detach a node from a cluster. The node, if needed, can be reattached to another cluster by using the cluster’s attach API
OK, if the node gets deattached from the cluster
Unauthorized to perform this operation
Cloud Provider
Get the list of the cloud provider accounts currently setup in a project identified by project UUID
OK
unauthorized to perform this operation
Add a cloud provider account
Note that by default, there is one “local” cloud provider, which is used for building clusters manually. Currently, AWS is the only supported cloudProvider, other than the “local” provider.
OK, if the cloud provider gets created successfully
Unauthorized to perform this operation
Get all available cloud provider types, in a project identified by project UUID
OK
unauthorized to perform this operation
Get the details for cloud provider account identified by the account_uuid
This is applicable only for public cloud providers
OK
unauthorized to perform this operation
Delete a cloud provider account specified by account uuid
OK, if the cloud provider gets deleted successfully
Unauthorized to perform this operation
Get the details for a region in a particular cloud provider account identified by the account_uuid
This is applicable only for public cloud providers
OK
unauthorized to perform this operation
Add ssh key to a cloud provider region
OK
Key is not in valid OpenSSH public key format
unauthorized to perform this operation
Validate a cloud provider account
Validate a cloud provider credentials before adding it
OK, if the cloud provider gets created successfully
Unauthorized to perform this operation
Update a cloud provider account specified by account uuid
OK, if the cloud provider gets upddated successfully
Unauthorized to perform this operation
Node Pool
Get details of all node pools
OK
unauthorized to perform this operation