From 555310be811ce2825875ed9b9a1c20061eae5d1a Mon Sep 17 00:00:00 2001 From: hzoppetti Date: Fri, 7 Feb 2020 11:16:46 -0500 Subject: [PATCH 1/3] changed linodes to nodes --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index e74fb3d39..6ec72fd38 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -15638,7 +15638,7 @@ components: description: > This Node Pool's unique ID. example: 456 - linodes: + nodes: type: array description: > Status information for the Linodes which are members of this Node From be7ee1ff4e866187fe05f941237a1c980e173e11 Mon Sep 17 00:00:00 2001 From: hzoppetti Date: Fri, 7 Feb 2020 12:05:07 -0500 Subject: [PATCH 2/3] added instance_id and updated language for nodes --- openapi.yaml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 6ec72fd38..ad93b11b4 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -15641,29 +15641,34 @@ components: nodes: type: array description: > - Status information for the Linodes which are members of this Node + Status information for the Nodes which are members of this Node Pool. If a Linode has not been provisioned for a given Node slot, - its ID will be returned as null. + the instance_id will be returned as null. items: - $ref: '#/components/schemas/LKELinodeStatus' - LKELinodeStatus: + $ref: '#/components/schemas/LKENodeStatus' + LKENodeStatus: type: object description: > - Status information for a Linode which is a member of a Kubernetes + Status information for a Node which is a member of a Kubernetes cluster. readOnly: true properties: id: type: number description: > - The Linode's ID. When no Linode is currently provisioned for this - Node slot, this ID will be null. + The Node's ID. x-linode-filterable: true example: 123456 + instance_id: + type: string + description: > + The Linode's ID. When no Linode is currently provisioned for this + Node, this will be null. + example: 123458 status: type: string description: > - The Linode's status as it pertains to being a Kubernetes node. + The Node's status as it pertains to being a Kubernetes node. enum: - ready - not_ready From 73d4701e2ff28a6efaf13e2077f749e0435ad66f Mon Sep 17 00:00:00 2001 From: nmelehan Date: Fri, 7 Feb 2020 13:39:50 -0500 Subject: [PATCH 3/3] Update CLI response for pools-list command --- openapi.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index ad93b11b4..620e6e048 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -6299,7 +6299,7 @@ paths: description: Returns an array of all Pools in this Kubernetes cluster. content: application/json: - x-linode-cli-nested-list: linodes + x-linode-cli-nested-list: nodes x-linode-cli-use-schema: type: object properties: @@ -6307,10 +6307,12 @@ paths: x-linode-cli-display: 1 type: x-linode-cli-display: 2 - linodes.id: + nodes.id: x-linode-cli-display: 3 - linodes.status: + nodes.instance_id: x-linode-cli-display: 4 + nodes.status: + x-linode-cli-display: 5 schema: type: object properties: