Skip to main content
Version: v3.7.3

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

Group 3See anything wrong with the document? Help us improve it!