Crates.io | rancher |
lib.rs | rancher |
version | 0.2.1 |
source | src |
created_at | 2021-08-25 15:41:30.858575 |
updated_at | 2023-06-07 20:09:39.043793 |
description | A fledgling rancher client. Just to flip drainOnDelete for my node pools |
homepage | |
repository | |
max_upload_size | |
id | 442228 |
size | 11,273 |
Need to toggle a node pool's drain before delete
? You're in the right place.
You will need the rancher
cli to login to servers, generating the .rancher/cli2.json
file in your home directory.
Login to servers like this:
% rancher login https://my.rancher.server.com --token token-asdf123:supersecret --name https://my.rancher.server.com
then you can use that name with this library