Manage Node Pools
Node pools allow you to manage groups of worker nodes within a Kubernetes cluster. This guide provides an overview of how to list, create, get, and delete node pools.
List Node Pools
- CLI
- API
Use the fluidctl kubernetes clusters node-pools list command to list all node pools in a cluster:
fluidctl kubernetes clusters node-pools list --region <region> --project <project-id> --cluster-id <cluster-id>
To list all node pools via the API, send a GET request to the /kubernetes/clusters/{cluster_id}/node-pools endpoint:
GET /kubernetes/clusters/<cluster-id>/node-pools HTTP/1.1
Host: <region>.atlas.fluidstack.io
Authorization: Bearer <token>
Get Node Pool Details
- CLI
- API
Use the fluidctl kubernetes clusters node-pools describe command to get details of a specific node pool:
fluidctl kubernetes clusters node-pools describe --region <region> --project <project-id> --cluster-id <cluster-id> --id <node-pool-id>
To get details for a specific node pool via the API, send a GET request to the /kubernetes/clusters/{cluster_id}/node-pools/{node_pool_id} endpoint:
GET /kubernetes/clusters/<cluster-id>/node-pools/<node-pool-id> HTTP/1.1
Host: <region>.atlas.fluidstack.io
Authorization: Bearer <token>