selectel-mks-cli: CLI for the Selectel Managed Kubernetes Service
CLI to the Selectel MKS V1 API.
Installation
Download a binary for the needed platform from the releases page.
Usage
You need to specify two mandatory parameters to use CLI:
MKS endpointthat can be specified by the--mks-endpointoption orMKS_ENDPOINTenvironment variable;MKS project-scoped tokenthat can be specified by the--mks-tokenoption orMKS_TOKENenvironment variable.
You can use help command to see all available subcommands:
)
You can also use help with any subcommand to see all available nested subcommands and their options:
)
<nodegroup-id> Nodegroup
How to get available values for mks-endpoint option
There are separate endpoints for each MKS region:
You can get available endpoints from the endpoint catalog in the Selectel Cloud.
How to get mks-token value
You can see this token in your web-browser console when working with the Selectel Cloud API.
You can also create this token with Terraform, Go library or Python library/CLI.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.