HI all,
I'm learning Fleet. I have deployed etcd and fleet at one server. The
configuration of etcd is as below, 10.0.18.7 is my server's IP:
...
etcd_servers=["http://10.0.18.7:2379"]
...
public_ip="10.0.18.7"
...
I have used Fleetctl CLI like fleetctl list-units
--endpoint http://10.0.18.7:2379 --driver "etcd". Yes, I mush add endpoint
and driver, this two argument, otherwise it will return failure.
My problem is when I call Fleet api http://10.0.18.7:2379/units/myapp, the
server return 404 to me. But I 'm sure the unit exists. I suspect the
problem may be related to the argument "driver". Because I don't add driver
in the CLI, it will return 404 as well. So if anyone has even encounter
with this problem, please tell me the solution. Thanks.