@@ -6194,7 +6194,8 @@ paths:
6194
6194
data:
6195
6195
type: array
6196
6196
items:
6197
- $ref: '#/components/schemas/LKECluster'
6197
+ type: object
6198
+ $ref: '#/components/schemas/LKECluster'
6198
6199
page:
6199
6200
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
6200
6201
pages:
@@ -6241,13 +6242,19 @@ paths:
6241
6242
- region
6242
6243
- k8s_version
6243
6244
- node_pools
6244
- allOf:
6245
- - $ref: '#/components/schemas/LKEClusterRequestBody'
6246
- - properties:
6247
- node_pools:
6248
- type: array
6249
- items:
6250
- $ref: '#/components/schemas/LKENodePoolRequestBody'
6245
+ properties:
6246
+ label:
6247
+ $ref: '#/components/schemas/LKECluster/properties/label'
6248
+ region:
6249
+ $ref: '#/components/schemas/LKECluster/properties/region'
6250
+ k8s_version:
6251
+ $ref: '#/components/schemas/LKECluster/properties/k8s_version'
6252
+ tags:
6253
+ $ref: '#/components/schemas/LKECluster/properties/tags'
6254
+ node_pools:
6255
+ type: array
6256
+ items:
6257
+ $ref: '#/components/schemas/LKENodePoolRequestBody'
6251
6258
responses:
6252
6259
'200':
6253
6260
description: Kubernetes cluster creation has started.
@@ -6339,7 +6346,7 @@ paths:
6339
6346
schema:
6340
6347
properties:
6341
6348
label:
6342
- $ref: '#/components/schemas/LKEClusterRequestBody /properties/label'
6349
+ $ref: '#/components/schemas/LKECluster /properties/label'
6343
6350
tags:
6344
6351
type: array
6345
6352
items:
@@ -6362,7 +6369,6 @@ paths:
6362
6369
label:
6363
6370
$ref: '#/components/schemas/LKECluster/properties/label'
6364
6371
tags:
6365
- x-linode-filterable: true
6366
6372
type: array
6367
6373
items:
6368
6374
type: string
@@ -6802,7 +6808,8 @@ paths:
6802
6808
data:
6803
6809
type: array
6804
6810
items:
6805
- $ref: '#/components/schemas/LKEVersion'
6811
+ type: object
6812
+ $ref: '#/components/schemas/LKEVersion'
6806
6813
page:
6807
6814
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
6808
6815
pages:
@@ -15967,10 +15974,7 @@ components:
15967
15974
- k8s_version
15968
15975
LKECluster:
15969
15976
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'
15977
+ description: A Kubernetes cluster.
15974
15978
properties:
15975
15979
id:
15976
15980
type: integer
@@ -15990,19 +15994,43 @@ components:
15990
15994
description: When this Kubernetes cluster was updated.
15991
15995
example: "2019-09-13T21:24:16Z"
15992
15996
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
15997
label:
15998
+ type: string
15999
+ description: >
16000
+ This Kubernetes cluster's unique label for display purposes only.
16001
+
16002
+ Labels have the following constraints:
16003
+
16004
+ * Must start with an alpha character
16005
+ * Must only consist of alphanumeric characters and dashes (`-`)
16006
+ * Must not contain two dashes in a row
16007
+ minLength: 3
16008
+ maxLength: 32
16009
+ # Kubernetes does NOT allow underscores in resource names and we are
16010
+ # passing this name to Kubernetes. Thus the following pattern:
16011
+ pattern: '[a-zA-Z0-9-]{3, 32}'
15997
16012
x-linode-cli-display: 2
15998
16013
example: lkecluster12345
15999
16014
region:
16000
- readOnly: true
16015
+ type: string
16016
+ description: This Kubernetes cluster's location.
16001
16017
x-linode-cli-display: 3
16002
16018
example: us-central
16019
+ readOnly: true
16003
16020
k8s_version:
16021
+ type: string
16022
+ description: >
16023
+ The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>,
16024
+ and the latest supported patch version will be deployed.
16004
16025
example: "1.16"
16005
16026
tags:
16027
+ x-linode-filterable: true
16028
+ type: array
16029
+ description: >
16030
+ An array of tags applied to the Kubernetes cluster.
16031
+ Tags are for organizational purposes only.
16032
+ items:
16033
+ type: string
16006
16034
example:
16007
16035
- ecomm
16008
16036
- blogs
0 commit comments