@@ -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.
@@ -6351,7 +6357,7 @@ paths:
6351
6357
schema:
6352
6358
properties:
6353
6359
label:
6354
- $ref: '#/components/schemas/LKEClusterRequestBody /properties/label'
6360
+ $ref: '#/components/schemas/LKECluster /properties/label'
6355
6361
tags:
6356
6362
type: array
6357
6363
items:
@@ -6374,7 +6380,6 @@ paths:
6374
6380
label:
6375
6381
$ref: '#/components/schemas/LKECluster/properties/label'
6376
6382
tags:
6377
- x-linode-filterable: true
6378
6383
type: array
6379
6384
items:
6380
6385
type: string
@@ -15976,10 +15981,28 @@ components:
15976
15981
The number of GPUs this Linode Type offers.
15977
15982
example: 0
15978
15983
x-linode-cli-display: 11
15979
- LKEClusterRequestBody :
15984
+ LKECluster :
15980
15985
type: object
15981
15986
description: A Kubernetes cluster.
15982
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
15983
16006
label:
15984
16007
type: string
15985
16008
description: >
@@ -15995,10 +16018,12 @@ components:
15995
16018
# Kubernetes does NOT allow underscores in resource names and we are
15996
16019
# passing this name to Kubernetes. Thus the following pattern:
15997
16020
pattern: '[a-zA-Z0-9-]{3, 32}'
16021
+ x-linode-cli-display: 2
15998
16022
example: lkecluster12345
15999
16023
region:
16000
16024
type: string
16001
16025
description: This Kubernetes cluster's location.
16026
+ x-linode-cli-display: 3
16002
16027
example: us-central
16003
16028
k8s_version:
16004
16029
type: string
@@ -16007,59 +16032,16 @@ components:
16007
16032
and the latest supported patch version will be deployed.
16008
16033
example: "1.16"
16009
16034
tags:
16035
+ x-linode-filterable: true
16010
16036
type: array
16011
16037
description: >
16012
- An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
16038
+ An array of tags applied to the Kubernetes cluster.
16039
+ Tags are for organizational purposes only.
16013
16040
items:
16014
16041
type: string
16015
16042
example:
16016
16043
- ecomm
16017
16044
- blogs
16018
- required:
16019
- - label
16020
- - region
16021
- - k8s_version
16022
- LKECluster:
16023
- type: object
16024
- # Note that LKECluster inherits all properties of
16025
- # LKEClusterRequestBody and then overrides some of the sub-properties
16026
- allOf:
16027
- - $ref: '#/components/schemas/LKEClusterRequestBody'
16028
- properties:
16029
- id:
16030
- type: integer
16031
- description: This Kubernetes cluster's unique ID.
16032
- readOnly: true
16033
- x-linode-cli-display: 1
16034
- example: 1234
16035
- created:
16036
- type: string
16037
- format: date-time
16038
- description: When this Kubernetes cluster was created.
16039
- example: "2019-09-12T21:25:30Z"
16040
- readOnly: true
16041
- updated:
16042
- type: string
16043
- format: date-time
16044
- description: When this Kubernetes cluster was updated.
16045
- example: "2019-09-13T21:24:16Z"
16046
- readOnly: true
16047
- # Note that these properties override some of the sub-properties from
16048
- # LKEClusterRequestBody but otherwise inherit all of the original
16049
- # sub-properties.
16050
- label:
16051
- x-linode-cli-display: 2
16052
- example: lkecluster12345
16053
- region:
16054
- readOnly: true
16055
- x-linode-cli-display: 3
16056
- example: us-central
16057
- k8s_version:
16058
- example: "1.16"
16059
- tags:
16060
- example:
16061
- - ecomm
16062
- - blogs
16063
16045
LKENodePoolRequestBody:
16064
16046
type: object
16065
16047
description: >
0 commit comments