@@ -6268,8 +6268,20 @@ paths:
62686268 "k8s_version": "1.16",
62696269 "tags": ["ecomm", "blogs"],
62706270 "node_pools": [
6271- { "type": "g6-standard-4", "count": 6},
6272- { "type": "g6-standard-8", "count": 3}
6271+ {
6272+ "type": "g6-standard-4",
6273+ "count": 6,
6274+ "disks": [
6275+ {
6276+ "size": 1028,
6277+ "type": "ext4"
6278+ }
6279+ ]
6280+ },
6281+ {
6282+ "type": "g6-standard-8",
6283+ "count": 3
6284+ }
62736285 ]
62746286 }' \
62756287 https://api.linode.com/v4/lke/clusters
@@ -6279,7 +6291,7 @@ paths:
62796291 --label cluster12345 \
62806292 --region us-central \
62816293 --k8s_version 1.16 \
6282- --node_pools.type g6-standard-4 --node_pools.count 6 \
6294+ --node_pools.type g6-standard-4 --node_pools.count 6 --node_pools.disks '[{"size": 1028, "type": "ext4"}]' \
62836295 --node_pools.type g6-standard-8 --node_pools.count 3 \
62846296 --tags ecomm
62856297 /lke/clusters/{clusterId}:
@@ -6533,7 +6545,18 @@ paths:
65336545 content:
65346546 application/json:
65356547 schema:
6536- $ref: '#/components/schemas/LKENodePool'
6548+ type: object
6549+ properties:
6550+ type:
6551+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/type'
6552+ count:
6553+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/count'
6554+ disks:
6555+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/disks'
6556+ id:
6557+ $ref: '#/components/schemas/LKENodePool/properties/id'
6558+ nodes:
6559+ $ref: '#/components/schemas/LKENodePool/properties/nodes'
65376560 default:
65386561 $ref: '#/components/responses/ErrorResponse'
65396562 x-code-samples:
@@ -6543,14 +6566,21 @@ paths:
65436566 -H "Authorization: Bearer $TOKEN" \
65446567 -X POST -d '{
65456568 "type": "g6-standard-4",
6546- "count": 6
6569+ "count": 6,
6570+ "disks": [
6571+ {
6572+ "size": 1028,
6573+ "type": "ext4"
6574+ }
6575+ ]
65476576 }' \
65486577 https://api.linode.com/v4/lke/clusters/12345/pools
65496578 - lang: CLI
65506579 source: >
65516580 linode-cli lke pool-create 12345 \
65526581 --type g6-standard-4 \
65536582 --count 6 \
6583+ --disks '[{"size": 1028, "type": "ext4"}]'
65546584 /lke/clusters/{clusterId}/pools/{poolId}:
65556585 parameters:
65566586 - name: clusterId
@@ -6584,7 +6614,18 @@ paths:
65846614 content:
65856615 application/json:
65866616 schema:
6587- $ref: '#/components/schemas/LKENodePool'
6617+ type: object
6618+ properties:
6619+ type:
6620+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/type'
6621+ count:
6622+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/count'
6623+ disks:
6624+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/disks'
6625+ id:
6626+ $ref: '#/components/schemas/LKENodePool/properties/id'
6627+ nodes:
6628+ $ref: '#/components/schemas/LKENodePool/properties/nodes'
65886629 x-code-samples:
65896630 - lang: Shell
65906631 source: >
@@ -6621,7 +6662,18 @@ paths:
66216662 content:
66226663 application/json:
66236664 schema:
6624- $ref: '#/components/schemas/LKENodePool'
6665+ type: object
6666+ properties:
6667+ type:
6668+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/type'
6669+ count:
6670+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/count'
6671+ disks:
6672+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/disks'
6673+ id:
6674+ $ref: '#/components/schemas/LKENodePool/properties/id'
6675+ nodes:
6676+ $ref: '#/components/schemas/LKENodePool/properties/nodes'
66256677 x-code-samples:
66266678 - lang: Shell
66276679 source: >
@@ -16015,19 +16067,53 @@ components:
1601516067 type:
1601616068 type: string
1601716069 description: A Linode Type for all of the nodes in the Node Pool.
16018- example: " g6-standard-4"
16070+ example: g6-standard-4
1601916071 count:
1602016072 type: integer
1602116073 description: The number of nodes in the Node Pool.
1602216074 minimum: 1
1602316075 maximum: 100
1602416076 example: 6
16077+ disks:
16078+ type: array
16079+ description: >
16080+ This Node Pool's custom disk layout. Each item in this array will create a new disk
16081+ partition for each node in this Node Pool.
16082+
16083+ * The custom disk layout is applied to each node in this Node Pool.
16084+ * The maximum number of custom disk partitions that can be configured is 7.
16085+ * Once the requested disk paritions are allocated, the remaining disk space is allocated to the node's boot disk.
16086+ * A Node Pool's custom disk layout is immutable over the lifetime of the Node Pool.
16087+
16088+ **Note**: If this field is omitted, the node will have a default disk layout consisting of a single partition.
16089+ A custom layout is only required for specific use cases.
16090+ items:
16091+ type: object
16092+ description: >
16093+ The values to assign to each partition in this Node Pool's custom disk layout.
16094+ properties:
16095+ size:
16096+ description: >
16097+ The size of this custom disk partition in MB.
16098+
16099+ * The size of this disk partition must not exceed the capacity of the node's plan type.
16100+ type: integer
16101+ example: 1024
16102+ type:
16103+ description: >
16104+ This custom disk partition's filesystem type.
16105+ type: string
16106+ enum:
16107+ - raw
16108+ - ext4
16109+ example: ext-4
1602516110 LKENodePool:
1602616111 # Note that LKENodePool inherits all properties of
1602716112 # LKENodePoolRequestBody and then overrides some of the sub-properties
1602816113 type: object
1602916114 allOf:
1603016115 - $ref: '#/components/schemas/LKENodePoolRequestBody'
16116+ - type: object
1603116117 description: >
1603216118 The set of Node Pools which are members of the Kubernetes cluster.
1603316119 Node Pools consist of a Linode type, the number of Linodes to
0 commit comments