@@ -6339,6 +6339,9 @@ paths:
6339
6339
$ref: '#/components/schemas/LKECluster/properties/tags'
6340
6340
node_pools:
6341
6341
type: array
6342
+ required:
6343
+ - type
6344
+ - count
6342
6345
items:
6343
6346
$ref: '#/components/schemas/LKENodePoolRequestBody'
6344
6347
responses:
@@ -6363,13 +6366,7 @@ paths:
6363
6366
"node_pools": [
6364
6367
{
6365
6368
"type": "g6-standard-4",
6366
- "count": 6,
6367
- "disks": [
6368
- {
6369
- "size": 1028,
6370
- "type": "ext4"
6371
- }
6372
- ]
6369
+ "count": 6
6373
6370
},
6374
6371
{
6375
6372
"type": "g6-standard-8",
@@ -6384,7 +6381,7 @@ paths:
6384
6381
--label cluster12345 \
6385
6382
--region us-central \
6386
6383
--k8s_version 1.16 \
6387
- --node_pools.type g6-standard-4 --node_pools.count 6 --node_pools.disks '[{"size": 1028, "type": "ext4"}]' \
6384
+ --node_pools.type g6-standard-4 --node_pools.count 6 \
6388
6385
--node_pools.type g6-standard-8 --node_pools.count 3 \
6389
6386
--tags ecomm
6390
6387
/lke/clusters/{clusterId}:
@@ -6658,21 +6655,14 @@ paths:
6658
6655
-H "Authorization: Bearer $TOKEN" \
6659
6656
-X POST -d '{
6660
6657
"type": "g6-standard-4",
6661
- "count": 6,
6662
- "disks": [
6663
- {
6664
- "size": 1028,
6665
- "type": "ext4"
6666
- }
6667
- ]
6658
+ "count": 6
6668
6659
}' \
6669
6660
https://api.linode.com/v4/lke/clusters/12345/pools
6670
6661
- lang: CLI
6671
6662
source: >
6672
6663
linode-cli lke pool-create 12345 \
6673
6664
--type g6-standard-4 \
6674
- --count 6 \
6675
- --disks '[{"size": 1028, "type": "ext4"}]'
6665
+ --count 6
6676
6666
/lke/clusters/{clusterId}/pools/{poolId}:
6677
6667
parameters:
6678
6668
- name: clusterId
@@ -16202,16 +16192,18 @@ components:
16202
16192
type: array
16203
16193
x-linode-cli-format: json
16204
16194
description: >
16195
+ **Note**: This field should be omitted except for special use cases. The disks specified here are
16196
+ partitions in *addition* to the primary partition and reduce the size of the primary partition,
16197
+ which can lead to stability problems for the Node.
16198
+
16199
+
16205
16200
This Node Pool's custom disk layout. Each item in this array will create a new disk
16206
16201
partition for each node in this Node Pool.
16207
16202
16208
16203
* The custom disk layout is applied to each node in this Node Pool.
16209
16204
* The maximum number of custom disk partitions that can be configured is 7.
16210
16205
* Once the requested disk paritions are allocated, the remaining disk space is allocated to the node's boot disk.
16211
16206
* A Node Pool's custom disk layout is immutable over the lifetime of the Node Pool.
16212
-
16213
- **Note**: If this field is omitted, the node will have a default disk layout consisting of a single partition.
16214
- A custom layout is only required for specific use cases.
16215
16207
items:
16216
16208
type: object
16217
16209
description: >
0 commit comments