Windows [iofogctl] -> deploy Local-Agent via remote iofogctl

iofog-agent

(Sebs Sa) #1

And me again :zipper_mouth_face:

Setup:

  1. I am on a Windows computer and use iofogctl version: 2.0.0-rc2
  2. Iā€™m connecting through it (iofogctl connect ā€¦)
  3. Now I am in the network - just a Linux laptop (controller)

Now I was planning to launch an agent on the controller laptop.

image

C:\..>iofogctl deploy -f agent-local.yaml
āœ˜ Resource conflict error
Cannot deploy an agent on the same host than the Controller

Why is that not possible ?

I tried :

image

This kinda works :joy: :

But you are no longer able to execute iofogctl commands (which have to do with the agent).

Now when I disconnect and reconnect to the network, the agent at least seems to exist.

And I am able to perform services through him.

Edit: They do appear but are never executed as docker containers.


(Serge Radinovich) #2

This is not supported for technical reasons. Controllers deployed directly on hosts (as opposed to on Kubernetes) are automatically deployed with a system-level Agent (for system Microservices like our Routers). Right now, that Agent is not user-facing which is to say that users cannot deploy Microservices to it.

We will add your use case as a feature request to our backlog.

In the meantime, you will not be able to deploy an Agent or Microservices to the host running your Controller. You will have to run your Agents on separate hosts to your Controller.