Skip to content

Allow CLI to accept k8s version when creating clusters #228

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

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ Attribute | Location | Type | Supported By | Explanation
`x-linode-cli-rows`| media type | array | A list of JSON paths where the CLI can find the value it should treat as table rows. Only needed for irregular endpoints.
`x-linode-cli-use-schema` | media type | schema or $ref | The schema the CLI should use when showing a row for this response. Use with `x-linode-cli-rows`.
`x-linode-cli-nested-list` | media type | string | The name of the property defined by this response body's schema that is a nested list. Items in the list will be broken out into rows in the CLI's output.
`x-linode-cli-name` | schema | string | The name this attribute should translate to when being included in a CLI call. Use only when necessary to preserve consistency between API and CLI.
3 changes: 2 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6127,7 +6127,7 @@ paths:
linode-cli lke cluster-create \
--label cluster12345 \
--region us-central \
--version 1.16 \
--kube-version 1.16 \
--node_pools.type g6-standard-4 --node_pools.count 6 \
--node_pools.type g6-standard-8 --node_pools.count 3
/lke/clusters/{clusterId}:
Expand Down Expand Up @@ -15651,6 +15651,7 @@ components:
The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>,
and the latest supported patch version will be deployed.
example: "1.16"
x-linode-cli-name: kube-version
tags:
type: array
description: >
Expand Down