Skip to content

Release 4.62.0 #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Apr 10, 2020
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
819babe
Correct LKENodeStatus schema - field id is of type string
Apr 8, 2020
0948f61
Merge pull request #236 from linode/master
nmelehan Apr 9, 2020
67adf64
Update LKE collection property from version to k8s_version
leslitagordita Apr 9, 2020
997d3af
Update references to version field to use k8s_version
leslitagordita Apr 9, 2020
da031e1
Update shell and CLI examples
leslitagordita Apr 9, 2020
863bd6f
Update version to k8s_version in required properties of LKEClusterReq…
nmelehan Apr 9, 2020
db2d313
Remove filterable status from LKE fields that are not filterable
Apr 8, 2020
792a22e
Merge pull request #237 from adammohammed/lke-schema-fixes
nmelehan Apr 9, 2020
501a06d
Merge branch 'lke-ga-release-prep' into update-lke-version-field
leslitagordita Apr 9, 2020
9460361
Merge pull request #238 from leslitagordita/update-lke-version-field
leslitagordita Apr 9, 2020
bda4896
Add time expectations for cluster creation
nmelehan Apr 9, 2020
32f3158
Add new endpoint /lke/clusters/{clusterId}/api-endpoints
leslitagordita Apr 9, 2020
03b333c
Add note about /lke/clusters/{clusterId}/api-endpoint deprecations
leslitagordita Apr 9, 2020
e5044b5
Merge pull request #239 from nmelehan/lke-time-expectations
nmelehan Apr 9, 2020
c680a99
Update List Kubernetes API Endpoints response
leslitagordita Apr 9, 2020
c30da5a
Syntax fixes for data array in response of List Kubernetes API Endpoints
nmelehan Apr 9, 2020
0748096
Merge pull request #241 from leslitagordita/lke-api-endpoints-update
leslitagordita Apr 9, 2020
b45317f
Merge pull request #240 from linode/lke-ga-release-prep
leslitagordita Apr 10, 2020
dddbcba
Bump version to 4.62.0
leslitagordita Apr 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 93 additions & 23 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.1
info:
version: 4.61.0
version: 4.62.0

title: Linode API
description: |
Expand Down Expand Up @@ -6072,11 +6072,13 @@ paths:
servers:
- url: https://api.linode.com/v4beta
summary: Create Kubernetes Cluster
description: >
description: |
Creates a Kubernetes cluster. The Kubernetes cluster will be created
asynchronously. You can use the events system to determine when the
Kubernetes cluster is ready to use.

Kubernetes cluster is ready to use. Please note that it often takes 2-5 minutes before the
[Kubernetes API server endpoint](/api/v4/lke-clusters-cluster-id-api-endpoint) and
the [Kubeconfig file](/api/v4/lke-clusters-cluster-id-kubeconfig) for the new cluster
are ready.

**Beta**: This endpoint is in private beta. Please make sure to prepend all requests with
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
Expand All @@ -6091,7 +6093,7 @@ paths:
required:
- label
- region
- version
- k8s_version
- node_pools
allOf:
- $ref: '#/components/schemas/LKEClusterRequestBody'
Expand All @@ -6117,7 +6119,7 @@ paths:
-X POST -d '{
"label": "cluster12345",
"region": "us-central",
"version": "1.16",
"k8s_version": "1.16",
"tags": ["ecomm", "blogs"],
"node_pools": [
{ "type": "g6-standard-4", "count": 6},
Expand All @@ -6130,7 +6132,7 @@ paths:
linode-cli lke cluster-create \
--label cluster12345 \
--region us-central \
--version 1.16 \
--k8s_version 1.16 \
--node_pools.type g6-standard-4 --node_pools.count 6 \
--node_pools.type g6-standard-8 --node_pools.count 3 \
--tags ecomm
Expand Down Expand Up @@ -6248,8 +6250,8 @@ paths:
$ref: '#/components/schemas/LKECluster/properties/updated'
region:
$ref: '#/components/schemas/LKECluster/properties/region'
version:
$ref: '#/components/schemas/LKECluster/properties/version'
k8s_version:
$ref: '#/components/schemas/LKECluster/properties/k8s_version'
x-code-samples:
- lang: Shell
source: >
Expand Down Expand Up @@ -6585,6 +6587,73 @@ paths:
- lang: CLI
source: >
linode-cli lke pool-delete 12345 456
/lke/clusters/{clusterId}/api-endpoints:
parameters:
- name: clusterId
in: path
description: ID of the Kubernetes cluster to look up.
required: true
schema:
type: integer
x-linode-cli-command: lke
get:
operationId: getLKEClusterAPIEndpoints
x-linode-cli-action: api-endpoints-list
security:
- personalAccessToken: []
- oauth:
- lke:read_only
tags:
- Linode Kubernetes Engine (LKE)
servers:
- url: https://api.linode.com/v4beta
summary: List Kubernetes API Endpoints
description: >
List the Kubernetes API server endpoints for this cluster. Please note that it often takes
2-5 minutes before the endpoint is ready after first [creating a new cluster](/api/v4/lke-clusters/#post).


**Beta**: This endpoint is in private beta. Please make sure to prepend all requests with
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
updates in the future. This notice will be removed when this endpoint is out of
beta. Sign up for the beta [here](https://welcome.linode.com/lkebeta/).
responses:
'200':
description: Returns the Kubernetes API server endpoints for this cluster.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
description: >
The Kubernetes API server endpoints for this cluster.
properties:
endpoint:
type: string
readOnly: true
description: >
A Kubernetes API server endpoint for this cluster.
example: "https://192.0.2.1:6443"
page:
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
pages:
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
results:
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
default:
$ref: '#/components/responses/ErrorResponse'
x-code-samples:
- lang: Shell
source: >
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4beta/lke/clusters/12345/api-endpoints
- lang: CLI
source: >
linode-cli lke api-endpoint-list 12345
/lke/clusters/{clusterId}/api-endpoint:
parameters:
- name: clusterId
Expand All @@ -6606,8 +6675,13 @@ paths:
servers:
- url: https://api.linode.com/v4beta
summary: View Kubernetes API Endpoint
description: >
Get the Kubernetes API server endpoint for this cluster.
description: |
Get the Kubernetes API server endpoint for this cluster. Please note that it often takes
2-5 minutes before the endpoint is ready after first
[creating a new cluster](/api/v4/lke-clusters/#post).

**Note** This endpoint will be deprecated in favor of
[List Kubernetes API Endpoints](/api/v4/lke-clusters-cluster-id-api-endpoints).


**Beta**: This endpoint is in private beta. Please make sure to prepend all requests with
Expand Down Expand Up @@ -6659,9 +6733,9 @@ paths:
servers:
- url: https://api.linode.com/v4beta
summary: View Kubeconfig
description: >
Get the Kubeconfig file for a Cluster.

description: |
Get the Kubeconfig file for a Cluster. Please note that it often takes 2-5 minutes before
the Kubeconfig file is ready after first [creating a new cluster](/api/v4/lke-clusters/#post).

**Beta**: This endpoint is in private beta. Please make sure to prepend all requests with
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
Expand Down Expand Up @@ -15700,7 +15774,7 @@ components:
type: string
description: This Kubernetes cluster's location.
example: us-central
version:
k8s_version:
type: string
description: >
The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>,
Expand All @@ -15718,7 +15792,7 @@ components:
required:
- label
- region
- version
- k8s_version
LKECluster:
type: object
# Note that LKECluster inherits all properties of
Expand Down Expand Up @@ -15748,16 +15822,13 @@ components:
# LKEClusterRequestBody but otherwise inherit all of the original
# sub-properties.
label:
x-linode-filterable: true
x-linode-cli-display: 2
example: lkecluster12345
region:
readOnly: true
x-linode-filterable: true
x-linode-cli-display: 3
example: us-central
version:
x-linode-filterable: true
k8s_version:
example: "1.16"
tags:
example:
Expand Down Expand Up @@ -15812,11 +15883,10 @@ components:
readOnly: true
properties:
id:
type: number
type: string
description: >
The Node's ID.
x-linode-filterable: true
example: 123456
example: "123456"
instance_id:
type: string
description: >
Expand Down