iofogctl
allows users to deploy ioFog resources that are specified in YAML files.
A Controller can be specified when using iofogctl deploy -f controllers.yaml
For Controllers on remote hosts:
controllers:
- name: Controller-1
user: serge
host: 30.40.50.5
keyfile: ~/.ssh/id_rsa
iofoguser:
name: Quick
surname: Start
email: user@domain.com
password: q1u45ic9kst563art
For Controllers on Kubernetes clusters:
controllers:
- name: Controller-1
kubeconfig: ~/.kube/config
iofoguser:
name: Quick
surname: Start
email: user@domain.com
password: q1u45ic9kst563art
An Agent can be specified when using iofogctl deploy -f agents.yaml
agents:
- name: Agent-1
user: serge
host: 30.40.50.7
keyfile: ~/.ssh/id_rsa