cloudagent

command module
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 11 Imported by: 0

README

Cloud Agent

license Go Report Card build Coverage

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
  1. Use Homebrew to install cloudagent:

    brew install pPrecel/tap/cloudagent
    

    or

    brew tap pPrecel/tap
    brew install cloudagent
    
  2. 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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL