Skip to content

kronostechnologies/richman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Richman

A tool to manage helmsman, list applications in a cluster, and allow you to run a templated application in your own node.

Install

go get -u github.com/kronostechnologies/richman
# OR
go install

Usage

List app version overrides in a helmsman toml file

Reads all pods in your current cluster, and sort them by apps / containers

# Show all apps
richman apps list


PP :   CONTAINER  VERSION                                                                                                                                                                                                                                                      
======================================                                                                                                                                                                                                                                                                                
logdna-reporter : logdna-reporter beta2-prerelease                                                                                                                                                                                                                              
--------------                                                                                                                                                                                                                                                                  
login-frontend : login-frontend version-2.3.1                                                                                                                                                                                                                                   
--------------                                                                                                                                                                                                                                                                  
pdf-api : pdf-api version-0.0.4    

Run a one-time job for an app

Applies and attaches to a "Job" template stored in a ConfigMap

richman apps run -a equisoft-connect -c name="myjob" -c cpu="1" -c memory="1G" -c templateparam="value"

Template parameter values are found in the ops configmap. They are strings like {{ .cpu }} or {{ .memory }} in the ops configmap itself.

Development

Build and run

git clone [email protected]:kronostechnologies/richman.git
cd richman
make
./bin/richman

Run test

make test

Build container image

make package.image
docker run -it richman:latest