Every Edge Compute Network ('ECN') starts with a Control Plane that allows us to manage ECN's resources.
In this guide, our Control Plane will deploy a single Controller instance.
Create a template of controlplane.yaml like so:
echo "--- apiVersion: iofog.org/v2 kind: ControlPlane metadata: name: albatros spec: iofogUser: name: Foo surname: Bar email: firstname.lastname@example.org password: iht234g9afhe controllers: - name: alpaca-1 host: 22.214.171.124 ssh: user: bar keyFile: ~/.ssh/id_rsa" > /tmp/controlplane.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/controlplane.yaml
We can use the following commands to verify the Control Plane is up and running:
iofogctl get controllers
iofogctl describe controller alpaca-1
iofogctl describe controlplane