Node Rancher cli is a console utility using node.js to interface with rancher
417
Node Rancher cli is a console utility using node.js to interface with rancher
npm install -g node-rancher-cli
./config.json
{
"protocol": "https",
"env": "1a5",
"host": "test-server:8000",
"username": "{username}",
"password": "{password}"
}
Command
ranch --file ./config.json stack restart Database\Postgres
SET RCLI_PROTOCOL=https
SET RCLI_ENV=1a5
SET RCLI_HOST=test-server:8000
SET RCLI_USERNAME={username}
SET RCLI_PASSWORD={password}
Command
ranch stack restart Database\Postgres
ranch --protocol https --env 1a5 --host test-server:8000 --username {username} --password {password} service restart Database\Postgres
docker run --rm -it rungeict/rancher-cli --protocol https --env 1a5 --host test-server:8000 --username {username} --password {password} service restart Database\Postgres
ranch ${....args} service restart Database\Postgres
Content type
Image
Digest
Size
245.2 MB
Last updated
almost 10 years ago
docker pull rungeict/rancher-cli