nodepolis-cli
Command line utility for Nodepolis .
Requirements:
- npm - node package manager
- docker
- docker-compose
- kubectl - for running kubernetes Job
Install:
npm install -g nodepolis-cli
Usage:
nodepolis-cli [command]
or
nodepolis-cli [short]
CLI will guide user on various sub options.
Command reference:
Command | Description | short |
---|
init | Initializes a nodepolis application | i |
build | Builds docker image for application | b |
deploy | Deploys application image to registry | d |
run | Runs application on local or kubernetes cluster | r |
generate | Generates package, docker, docker-compose, kubernetes config files | g |
logs | Gets logs from kubernetes cluster | l |
describe | Describe Job or pod information from kubernetes cluster | desc |