Cloud Agent
The simple and easy-to-use program is designed to watch user activity and possible orphan clusters for Cloud Providers:
- Gardener
- GCP (work in progress)
This application is created with a view to using it as the tmux status. To fulfill this criterion the procedure of getting resources from the gardener is separated and is in the second service which serves the UNIX socket that is used by the first one. This architecture allows not to block the main tmux process during calling the right gardener endpoint.
Installation
Github Release
Visit the releases page to download one of the pre-built binaries for your platform.
Homebrew
-
Use Homebrew to install cloudagent
:
brew install pPrecel/tap/cloudagent
or
brew tap pPrecel/tap
brew install cloudagent
-
Start the cloudagent
service:
brew services start cloudagent
Make use of it
After installing and starting the service process you can pass configuration to immediately say agent which clouds should he observe (read more here). To check that program is working correctly use:
cloudagent state
NOTE: I really recommend you to use --help
for all commands to familiarize with all functionalities. Logs from running service are stored in /tmp/cloudagent/cloudagent.stdout
and you can use for example cat
program to read all of them.
Integrations
The cloudagent may be integrated with other tools like the tmux to observe clusters or the vscode to easily extend the .cloudagent.conf.yml
file ( read more here ).
Contribution
Any help and contribution would be welcome. If you want to help with creating feature requests, logging bugs, or/and working on any existing ticket, go to the issues tab. If you decided to look into code, this document would be helpful.