Skip to content
No description, website, or topics provided.
Go Shell Makefile
Branch: develop
Clone or download
Latest commit 060326a Aug 21, 2019

ioFog Unified CLI

iofogctl is a CLI for the installation, configuration, and operation of ioFog Edge Compute Networks (ECNs). It can be used to remotely manage multiple different clusters from a single host. It is built for an ioFog user and a DevOps engineering wanting to manage ioFog clusters.



Mac users can use Homebrew:

brew tap eclipse-iofog/iofogctl
brew install iofogctl


The Debian package can be installed like so: | sudo bash
sudo apt install iofogctl

And similarly, the RPM package can be installed like so: | sudo bash
sudo apt install iofogctl



The entire CLI documentation can be found here

Quick Start

See all iofogctl options

iofogctl --help

Current options include:

ioFog Unified Command Line Interface

  iofogctl [command]

Available Commands:
  create      Create an ioFog resource
  delete      Delete existing ioFog resources
  deploy      Deploy ioFog stack on existing infrastructure
  describe    Get detailed information of existing resources
  get         Get information of existing resources
  help        Help about any command
  legacy      Execute commands using legacy CLI
  logs        Get log contents of deployed resource

      --config string      CLI configuration file (default is ~/.iofog/config.yaml)
  -h, --help               help for iofogctl
  -n, --namespace string   Namespace to execute respective command within (default "default")

Use "iofogctl [command] --help" for more information about a command.


If you are running BASH or ZSH, iofogctl comes with shell autocompletion scripts. In order to generate those scripts, run:

iofogctl autocomplete bash


iofogctl autocomplete zsh

Then follow the instructions output by the command.


$> iofogctl autocomplete bash
✔ $HOME/.iofog/ generated
Run `source $HOME/.iofog/` to update your current session
Add `source $HOME/.iofog/` to your bash profile to have it saved

$>source $HOME/.iofog/
$>echo "$HOME/.iofog/" >> $HOME/.bash_profile

Build from Source

Go 1.12.1+ is a prerequisite. Install all other dependancies with:


See all make commands by running:

make help

To build and install, go ahead and run:

make all
iofogctl --help

iofogctl is installed in /usr/local/bin

Running Tests

Run project unit tests:

make test

This will output a JUnit compatible file into reports/TEST-iofogctl.xml that can be imported in most CI systems.

You can’t perform that action at this time.