1
1
openapi: 3.0.1
2
2
info:
3
- version: 4.68 .0
3
+ version: 4.69 .0
4
4
5
5
title: Linode API
6
6
description: |
@@ -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
@@ -14071,7 +14129,7 @@ components:
14071
14129
- dns_record_update
14072
14130
- dns_zone_create
14073
14131
- dns_zone_delete
14074
- - dnz_zone_import
14132
+ - dns_zone_import
14075
14133
- dns_zone_update
14076
14134
- host_reboot
14077
14135
- image_delete
@@ -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,55 +15981,9 @@ components:
15922
15981
The number of GPUs this Linode Type offers.
15923
15982
example: 0
15924
15983
x-linode-cli-display: 11
15925
- LKEClusterRequestBody:
15926
- type: object
15927
- description: A Kubernetes cluster.
15928
- properties:
15929
- label:
15930
- type: string
15931
- description: >
15932
- This Kubernetes cluster's unique label for display purposes only.
15933
-
15934
- Labels have the following constraints:
15935
-
15936
- * Must start with an alpha character
15937
- * Must only consist of alphanumeric characters and dashes (`-`)
15938
- * Must not contain two dashes in a row
15939
- minLength: 3
15940
- maxLength: 32
15941
- # Kubernetes does NOT allow underscores in resource names and we are
15942
- # passing this name to Kubernetes. Thus the following pattern:
15943
- pattern: '[a-zA-Z0-9-]{3, 32}'
15944
- example: lkecluster12345
15945
- region:
15946
- type: string
15947
- description: This Kubernetes cluster's location.
15948
- example: us-central
15949
- k8s_version:
15950
- type: string
15951
- description: >
15952
- The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>,
15953
- and the latest supported patch version will be deployed.
15954
- example: "1.16"
15955
- tags:
15956
- type: array
15957
- description: >
15958
- An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
15959
- items:
15960
- type: string
15961
- example:
15962
- - ecomm
15963
- - blogs
15964
- required:
15965
- - label
15966
- - region
15967
- - k8s_version
15968
15984
LKECluster:
15969
15985
type: object
15970
- # Note that LKECluster inherits all properties of
15971
- # LKEClusterRequestBody and then overrides some of the sub-properties
15972
- allOf:
15973
- - $ref: '#/components/schemas/LKEClusterRequestBody'
15986
+ description: A Kubernetes cluster.
15974
15987
properties:
15975
15988
id:
15976
15989
type: integer
@@ -15990,19 +16003,47 @@ components:
15990
16003
description: When this Kubernetes cluster was updated.
15991
16004
example: "2019-09-13T21:24:16Z"
15992
16005
readOnly: true
15993
- # Note that these properties override some of the sub-properties from
15994
- # LKEClusterRequestBody but otherwise inherit all of the original
15995
- # sub-properties.
15996
16006
label:
16007
+ type: string
16008
+ description: >
16009
+ This Kubernetes cluster's unique label for display purposes only.
16010
+
16011
+ Labels have the following constraints:
16012
+
16013
+ * UTF-8 characters will be returned by the API using escape
16014
+ sequences of their Unicode code points. For example, the
16015
+ Japanese character *か* is 3 bytes in UTF-8 (`0xE382AB`). Its
16016
+ Unicode code point is 2 bytes (`0x30AB`). APIv4 supports this
16017
+ character and the API will return it as the escape sequence
16018
+ using six 1 byte characters which represent 2 bytes of Unicode
16019
+ code point (`"\u30ab"`).
16020
+ * 4 byte UTF-8 characters are not supported.
16021
+ * If the label is entirely composed of UTF-8 characters, the API
16022
+ response will return the code points using up to 193 1 byte
16023
+ characters.
16024
+ minLength: 1
16025
+ maxLength: 32
15997
16026
x-linode-cli-display: 2
15998
16027
example: lkecluster12345
15999
16028
region:
16000
- readOnly: true
16029
+ type: string
16030
+ description: This Kubernetes cluster's location.
16001
16031
x-linode-cli-display: 3
16002
16032
example: us-central
16003
16033
k8s_version:
16034
+ type: string
16035
+ description: >
16036
+ The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>,
16037
+ and the latest supported patch version will be deployed.
16004
16038
example: "1.16"
16005
16039
tags:
16040
+ x-linode-filterable: true
16041
+ type: array
16042
+ description: >
16043
+ An array of tags applied to the Kubernetes cluster.
16044
+ Tags are for organizational purposes only.
16045
+ items:
16046
+ type: string
16006
16047
example:
16007
16048
- ecomm
16008
16049
- blogs
@@ -16015,19 +16056,53 @@ components:
16015
16056
type:
16016
16057
type: string
16017
16058
description: A Linode Type for all of the nodes in the Node Pool.
16018
- example: " g6-standard-4"
16059
+ example: g6-standard-4
16019
16060
count:
16020
16061
type: integer
16021
16062
description: The number of nodes in the Node Pool.
16022
16063
minimum: 1
16023
16064
maximum: 100
16024
16065
example: 6
16066
+ disks:
16067
+ type: array
16068
+ description: >
16069
+ This Node Pool's custom disk layout. Each item in this array will create a new disk
16070
+ partition for each node in this Node Pool.
16071
+
16072
+ * The custom disk layout is applied to each node in this Node Pool.
16073
+ * The maximum number of custom disk partitions that can be configured is 7.
16074
+ * Once the requested disk paritions are allocated, the remaining disk space is allocated to the node's boot disk.
16075
+ * A Node Pool's custom disk layout is immutable over the lifetime of the Node Pool.
16076
+
16077
+ **Note**: If this field is omitted, the node will have a default disk layout consisting of a single partition.
16078
+ A custom layout is only required for specific use cases.
16079
+ items:
16080
+ type: object
16081
+ description: >
16082
+ The values to assign to each partition in this Node Pool's custom disk layout.
16083
+ properties:
16084
+ size:
16085
+ description: >
16086
+ The size of this custom disk partition in MB.
16087
+
16088
+ * The size of this disk partition must not exceed the capacity of the node's plan type.
16089
+ type: integer
16090
+ example: 1024
16091
+ type:
16092
+ description: >
16093
+ This custom disk partition's filesystem type.
16094
+ type: string
16095
+ enum:
16096
+ - raw
16097
+ - ext4
16098
+ example: ext-4
16025
16099
LKENodePool:
16026
16100
# Note that LKENodePool inherits all properties of
16027
16101
# LKENodePoolRequestBody and then overrides some of the sub-properties
16028
16102
type: object
16029
16103
allOf:
16030
16104
- $ref: '#/components/schemas/LKENodePoolRequestBody'
16105
+ - type: object
16031
16106
description: >
16032
16107
The set of Node Pools which are members of the Kubernetes cluster.
16033
16108
Node Pools consist of a Linode type, the number of Linodes to
0 commit comments