Skip to main content

Legacy Commands in potctl

We can use legacy CLI of each component i.e Controller and Agent.

Using Legacy Commands

To use legacy commands from potctl, preface any legacy command you want with:

potctl legacy <component> <component-name> command -n <namespace of component>

e.g.

potctl legacy agent iofog-agent config -n default

where I want to get the output of the config command from my agent, named iofog-agent

To determine what legacy commands you wish to use, please see the legacy cli documentation for each component at the following links:

Agent

Controller