The actual 'edge' of our Edge Compute Network ('ECN') is composed of Agents. The other component (the Controllers) can be deployed anywhere, including cloud infrastructure, but Agents can only live on standalone hosts.
Create a template of agent.yaml like so:
echo "--- apiVersion: iofog.org/v2 kind: Agent metadata: name: zebra-1 spec: host: 22.214.171.124 ssh: user: foo keyFile: ~/.ssh/id_rsa" > /tmp/agent.yaml
Make sure to edit the
ssh.keyFile fields to correspond with the remote host we are deploying to.
Once we have edited the fields to our liking, go ahead and run:
iofogctl deploy -f /tmp/agent.yaml
We can use the following commands to verify the Agent is up and running:
iofogctl get agents
iofogctl describe agent zebra-1