hamctl
v0.3.8
Published
Hamravesh cloud cli
Downloads
10
Readme
hamctl
Install
- Install
npm
- Run the following command:
sudo npm i g hamctl
Commands
Login/Logout:
hamctl login
hamctl logout
Organizations
Aliases: organization
, orgs
, org
, o
List organizations
hamctl organizations list
Switch defualt organization
hamctl organizations switch
Namespaces
List namespaces
Aliases: namespace
, ns
, n
hamctl namespaces list
Create new namespace
hamctl namespaces create
Apps
Aliases: app
, a
List apps
Aliases: ls
, l
hamctl apps list
Create new app
Flags:
-n
|--name
new app's name--namespace
name of namespace-c
|--cluster
name of cluster-t
|--type
type of app usable values:docker-image
github-repo
hamgit-repo
redis
postgresql
minio
mysql
mariadb
mongodb
elasticsearch
mssql
jira
metabase
grafana
rabbitmq
prometheus
wordpress
confluence
rocketchat
gitlab_runner
kibana
nextcloud
static
nodejs
python
php
ruby
go
java
dotnet
hamctl apps create --name [new-app-name] --namespace [namespace] --cluster [cluster] --group [group] --type [type]
Delete app
Aliases: del
Flags:
-n
|--name
app's name--namespace
name of namespace-c
|--cluster
name of cluster
hamctl apps delete [app-name] --namespace [namespace] --cluster [cluster]
Details of app
hamctl apps details [app-name]
Change image of app
hamctl apps set-image [app-name] --image [image] --tag [tag]
Start app
hamctl apps start [app-name] --namespace [namespace] --cluster [cluster]
Stop app
hamctl apps stop [app-name] --namespace [namespace] --cluster [cluster]