Tiny tool to manage multiple servers.
Project description
😽 kitten
Tiny tool to manage multiple servers. Especially when production is burning.
Install
pip install kitten
Examples
Get IPs in Auto Scaling group:
$ kitten aws asg my-asg-name
18.105.107.20
34.229.135.48
52.211.230.162
54.108.254.142
184.53.6.59
Run command:
$ kitten ssh uptime ubuntu 18.105.107.20 34.229.135.48
18.105.107.20 uptime
34.229.135.48 uptime
17:11:48 up 1 day, 6:02, 0 users, load average: 0.91, 2.99, 3.49
17:11:48 up 5 days, 11:19, 0 users, load average: 6.34, 5.94, 5.72
Run command on 10 instances at a time:
$ kitten aws asg big-prod-asg | xargs -L 10 kitten ssh --sudo 'service nginx restart' ubuntu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kitten-0.1.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for kitten-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d01c35d77de6db913f7a3294d81b02d4420ade77318cf2991f874cd1cf230d3e |
|
MD5 | 5d16b1bcf92a09bdd4d75c4174d6a034 |
|
BLAKE2b-256 | a42d96ff63e2c0e8ebf4eea2971eda29c894d37bf8a59a8353778c5fe6b4f0e6 |