@@ -6241,13 +6241,19 @@ paths:
6241
6241
- region
6242
6242
- k8s_version
6243
6243
- node_pools
6244
- allOf:
6245
- - $ref: '#/components/schemas/LKEClusterRequestBody'
6246
- - properties:
6247
- node_pools:
6248
- type: array
6249
- items:
6250
- $ref: '#/components/schemas/LKENodePoolRequestBody'
6244
+ properties:
6245
+ label:
6246
+ $ref: '#/components/schemas/LKECluster/properties/label'
6247
+ region:
6248
+ $ref: '#/components/schemas/LKECluster/properties/region'
6249
+ k8s_version:
6250
+ $ref: '#/components/schemas/LKECluster/properties/k8s_version'
6251
+ tags:
6252
+ $ref: '#/components/schemas/LKECluster/properties/tags'
6253
+ node_pools:
6254
+ type: array
6255
+ items:
6256
+ $ref: '#/components/schemas/LKENodePoolRequestBody'
6251
6257
responses:
6252
6258
'200':
6253
6259
description: Kubernetes cluster creation has started.
@@ -6268,8 +6274,20 @@ paths:
6268
6274
"k8s_version": "1.16",
6269
6275
"tags": ["ecomm", "blogs"],
6270
6276
"node_pools": [
6271
- { "type": "g6-standard-4", "count": 6},
6272
- { "type": "g6-standard-8", "count": 3}
6277
+ {
6278
+ "type": "g6-standard-4",
6279
+ "count": 6,
6280
+ "disks": [
6281
+ {
6282
+ "size": 1028,
6283
+ "type": "ext4"
6284
+ }
6285
+ ]
6286
+ },
6287
+ {
6288
+ "type": "g6-standard-8",
6289
+ "count": 3
6290
+ }
6273
6291
]
6274
6292
}' \
6275
6293
https://api.linode.com/v4/lke/clusters
@@ -6279,7 +6297,7 @@ paths:
6279
6297
--label cluster12345 \
6280
6298
--region us-central \
6281
6299
--k8s_version 1.16 \
6282
- --node_pools.type g6-standard-4 --node_pools.count 6 \
6300
+ --node_pools.type g6-standard-4 --node_pools.count 6 --node_pools.disks '[{"size": 1028, "type": "ext4"}]' \
6283
6301
--node_pools.type g6-standard-8 --node_pools.count 3 \
6284
6302
--tags ecomm
6285
6303
/lke/clusters/{clusterId}:
@@ -6339,7 +6357,7 @@ paths:
6339
6357
schema:
6340
6358
properties:
6341
6359
label:
6342
- $ref: '#/components/schemas/LKEClusterRequestBody /properties/label'
6360
+ $ref: '#/components/schemas/LKECluster /properties/label'
6343
6361
tags:
6344
6362
type: array
6345
6363
items:
@@ -6362,7 +6380,6 @@ paths:
6362
6380
label:
6363
6381
$ref: '#/components/schemas/LKECluster/properties/label'
6364
6382
tags:
6365
- x-linode-filterable: true
6366
6383
type: array
6367
6384
items:
6368
6385
type: string
@@ -6533,7 +6550,18 @@ paths:
6533
6550
content:
6534
6551
application/json:
6535
6552
schema:
6536
- $ref: '#/components/schemas/LKENodePool'
6553
+ type: object
6554
+ properties:
6555
+ type:
6556
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/type'
6557
+ count:
6558
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/count'
6559
+ disks:
6560
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/disks'
6561
+ id:
6562
+ $ref: '#/components/schemas/LKENodePool/properties/id'
6563
+ nodes:
6564
+ $ref: '#/components/schemas/LKENodePool/properties/nodes'
6537
6565
default:
6538
6566
$ref: '#/components/responses/ErrorResponse'
6539
6567
x-code-samples:
@@ -6543,14 +6571,21 @@ paths:
6543
6571
-H "Authorization: Bearer $TOKEN" \
6544
6572
-X POST -d '{
6545
6573
"type": "g6-standard-4",
6546
- "count": 6
6574
+ "count": 6,
6575
+ "disks": [
6576
+ {
6577
+ "size": 1028,
6578
+ "type": "ext4"
6579
+ }
6580
+ ]
6547
6581
}' \
6548
6582
https://api.linode.com/v4/lke/clusters/12345/pools
6549
6583
- lang: CLI
6550
6584
source: >
6551
6585
linode-cli lke pool-create 12345 \
6552
6586
--type g6-standard-4 \
6553
6587
--count 6 \
6588
+ --disks '[{"size": 1028, "type": "ext4"}]'
6554
6589
/lke/clusters/{clusterId}/pools/{poolId}:
6555
6590
parameters:
6556
6591
- name: clusterId
@@ -6584,7 +6619,18 @@ paths:
6584
6619
content:
6585
6620
application/json:
6586
6621
schema:
6587
- $ref: '#/components/schemas/LKENodePool'
6622
+ type: object
6623
+ properties:
6624
+ type:
6625
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/type'
6626
+ count:
6627
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/count'
6628
+ disks:
6629
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/disks'
6630
+ id:
6631
+ $ref: '#/components/schemas/LKENodePool/properties/id'
6632
+ nodes:
6633
+ $ref: '#/components/schemas/LKENodePool/properties/nodes'
6588
6634
x-code-samples:
6589
6635
- lang: Shell
6590
6636
source: >
@@ -6621,7 +6667,18 @@ paths:
6621
6667
content:
6622
6668
application/json:
6623
6669
schema:
6624
- $ref: '#/components/schemas/LKENodePool'
6670
+ type: object
6671
+ properties:
6672
+ type:
6673
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/type'
6674
+ count:
6675
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/count'
6676
+ disks:
6677
+ $ref: '#/components/schemas/LKENodePoolRequestBody/properties/disks'
6678
+ id:
6679
+ $ref: '#/components/schemas/LKENodePool/properties/id'
6680
+ nodes:
6681
+ $ref: '#/components/schemas/LKENodePool/properties/nodes'
6625
6682
x-code-samples:
6626
6683
- lang: Shell
6627
6684
source: >
@@ -14001,6 +14058,7 @@ components:
14001
14058
The tag portion of a CAA record. It is invalid to set this on
14002
14059
other record types.
14003
14060
example: null
14061
+ x-linode-filterable: true
14004
14062
created:
14005
14063
type: string
14006
14064
format: date-time
@@ -14159,6 +14217,7 @@ components:
14159
14217
The action that caused this Event. New actions may be added in the future.
14160
14218
example: ticket_create
14161
14219
x-linode-cli-display: 3
14220
+ x-linode-filterable: true
14162
14221
created:
14163
14222
type: string
14164
14223
readOnly: true
@@ -15922,10 +15981,28 @@ components:
15922
15981
The number of GPUs this Linode Type offers.
15923
15982
example: 0
15924
15983
x-linode-cli-display: 11
15925
- LKEClusterRequestBody :
15984
+ LKECluster :
15926
15985
type: object
15927
15986
description: A Kubernetes cluster.
15928
15987
properties:
15988
+ id:
15989
+ type: integer
15990
+ description: This Kubernetes cluster's unique ID.
15991
+ readOnly: true
15992
+ x-linode-cli-display: 1
15993
+ example: 1234
15994
+ created:
15995
+ type: string
15996
+ format: date-time
15997
+ description: When this Kubernetes cluster was created.
15998
+ example: "2019-09-12T21:25:30Z"
15999
+ readOnly: true
16000
+ updated:
16001
+ type: string
16002
+ format: date-time
16003
+ description: When this Kubernetes cluster was updated.
16004
+ example: "2019-09-13T21:24:16Z"
16005
+ readOnly: true
15929
16006
label:
15930
16007
type: string
15931
16008
description: >
@@ -15949,10 +16026,12 @@ components:
15949
16026
# Kubernetes does NOT allow underscores in resource names and we are
15950
16027
# passing this name to Kubernetes. Thus the following pattern:
15951
16028
pattern: '[a-zA-Z0-9-]{3, 32}'
16029
+ x-linode-cli-display: 2
15952
16030
example: lkecluster12345
15953
16031
region:
15954
16032
type: string
15955
16033
description: This Kubernetes cluster's location.
16034
+ x-linode-cli-display: 3
15956
16035
example: us-central
15957
16036
k8s_version:
15958
16037
type: string
@@ -15961,59 +16040,16 @@ components:
15961
16040
and the latest supported patch version will be deployed.
15962
16041
example: "1.16"
15963
16042
tags:
16043
+ x-linode-filterable: true
15964
16044
type: array
15965
16045
description: >
15966
- An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
16046
+ An array of tags applied to the Kubernetes cluster.
16047
+ Tags are for organizational purposes only.
15967
16048
items:
15968
16049
type: string
15969
16050
example:
15970
16051
- ecomm
15971
16052
- blogs
15972
- required:
15973
- - label
15974
- - region
15975
- - k8s_version
15976
- LKECluster:
15977
- type: object
15978
- # Note that LKECluster inherits all properties of
15979
- # LKEClusterRequestBody and then overrides some of the sub-properties
15980
- allOf:
15981
- - $ref: '#/components/schemas/LKEClusterRequestBody'
15982
- properties:
15983
- id:
15984
- type: integer
15985
- description: This Kubernetes cluster's unique ID.
15986
- readOnly: true
15987
- x-linode-cli-display: 1
15988
- example: 1234
15989
- created:
15990
- type: string
15991
- format: date-time
15992
- description: When this Kubernetes cluster was created.
15993
- example: "2019-09-12T21:25:30Z"
15994
- readOnly: true
15995
- updated:
15996
- type: string
15997
- format: date-time
15998
- description: When this Kubernetes cluster was updated.
15999
- example: "2019-09-13T21:24:16Z"
16000
- readOnly: true
16001
- # Note that these properties override some of the sub-properties from
16002
- # LKEClusterRequestBody but otherwise inherit all of the original
16003
- # sub-properties.
16004
- label:
16005
- x-linode-cli-display: 2
16006
- example: lkecluster12345
16007
- region:
16008
- readOnly: true
16009
- x-linode-cli-display: 3
16010
- example: us-central
16011
- k8s_version:
16012
- example: "1.16"
16013
- tags:
16014
- example:
16015
- - ecomm
16016
- - blogs
16017
16053
LKENodePoolRequestBody:
16018
16054
type: object
16019
16055
description: >
@@ -16023,19 +16059,53 @@ components:
16023
16059
type:
16024
16060
type: string
16025
16061
description: A Linode Type for all of the nodes in the Node Pool.
16026
- example: " g6-standard-4"
16062
+ example: g6-standard-4
16027
16063
count:
16028
16064
type: integer
16029
16065
description: The number of nodes in the Node Pool.
16030
16066
minimum: 1
16031
16067
maximum: 100
16032
16068
example: 6
16069
+ disks:
16070
+ type: array
16071
+ description: >
16072
+ This Node Pool's custom disk layout. Each item in this array will create a new disk
16073
+ partition for each node in this Node Pool.
16074
+
16075
+ * The custom disk layout is applied to each node in this Node Pool.
16076
+ * The maximum number of custom disk partitions that can be configured is 7.
16077
+ * Once the requested disk paritions are allocated, the remaining disk space is allocated to the node's boot disk.
16078
+ * A Node Pool's custom disk layout is immutable over the lifetime of the Node Pool.
16079
+
16080
+ **Note**: If this field is omitted, the node will have a default disk layout consisting of a single partition.
16081
+ A custom layout is only required for specific use cases.
16082
+ items:
16083
+ type: object
16084
+ description: >
16085
+ The values to assign to each partition in this Node Pool's custom disk layout.
16086
+ properties:
16087
+ size:
16088
+ description: >
16089
+ The size of this custom disk partition in MB.
16090
+
16091
+ * The size of this disk partition must not exceed the capacity of the node's plan type.
16092
+ type: integer
16093
+ example: 1024
16094
+ type:
16095
+ description: >
16096
+ This custom disk partition's filesystem type.
16097
+ type: string
16098
+ enum:
16099
+ - raw
16100
+ - ext4
16101
+ example: ext-4
16033
16102
LKENodePool:
16034
16103
# Note that LKENodePool inherits all properties of
16035
16104
# LKENodePoolRequestBody and then overrides some of the sub-properties
16036
16105
type: object
16037
16106
allOf:
16038
16107
- $ref: '#/components/schemas/LKENodePoolRequestBody'
16108
+ - type: object
16039
16109
description: >
16040
16110
The set of Node Pools which are members of the Kubernetes cluster.
16041
16111
Node Pools consist of a Linode type, the number of Linodes to
0 commit comments