Actions70
- Config Actions
- Database Service Actions
- Database Service > Backups Actions
- Database Service > Backups > Scheduled Actions
- Database Service > Configurations Actions
- Database Service > Data Actions
- Database Service > IP Filters Actions
- Database Service > Restores Actions
- Kubernetes Service Actions
- Kubernetes Service > Data Actions
- Kubernetes Service > IP Filtering Actions
- Kubernetes Service > Instance Pools Actions
- Product Management Actions
- Projects Actions
- Users Actions
Kubernetes Service > Instance Pools → Create Instance Pool
AI-generatedSummary
Create a Kubernetes Instance Pool in Infomaniak Public Cloud.
Inputs
- authentication — Authentication method (OAuth2 or API Key).
- path_public_cloud_id (required) — Identifier of the public cloud.
- path_public_cloud_project_id (required) — Identifier of the public cloud project.
- path_kaas_id (required) — Identifier of the KaaS (Kubernetes as a Service) ID.
- body_flavor (required) — Instance Pool Flavor; see linked documentation for possible values.
- body_minimum_instances (required) — Minimum number of instances.
- body_name (required) — Instance Pool Name.
- bodyParameters — Additional body fields to include in the API request.
- body_availability_zone — Region Availability Zone.
- body_labels — Array of valid Kubernetes labels to apply to the instances; must follow specific naming conventions.
- body_maximum_instances — Maximum number of instances; if greater than minimum_instances enables autoscaling.
- body_prefix — Prefix to use when naming instances.
- returnFullResponse — Whether to return the full API response.
Output shape
a single instance pool object representing the created pool
Response includes the created resource; optional fields are omitted unless returnFullResponse is true.
Examples
Example 1: Create a new instance pool with minimal required settings
authentication: oauth2, path_public_cloud_id: 1, path_public_cloud_project_id: 10, path_kaas_id: 5, body_flavor: "see link below", body_minimum_instances: 2, body_name: "my-pool", returnFullResponse: false
Example 2: Create an instance pool with autoscaling enabled and custom labels
authentication: apiKey, path_public_cloud_id: 2, path_public_cloud_project_id: 20, path_kaas_id: 8, body_flavor: "see link below", body_minimum_instances: 1, body_name: "autoscaled-pool", body_maximum_instances: 10, body_labels: {"node-role.kubernetes.io/pool=true"}, returnFullResponse: true