You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Attempting to run "fleetctl list-machines" from a worker node gives an empty list.
The reason appears to be that while the fleet service is properly pointing to external etcd nodes, fleetctl still has a default endpoint that points to localhost:4001 for etcd (which actually should not even exist in this configuration)
I think it would be nice if instead of hardcoding the default etcd endpoint, etcdctl was smart enough to look for a locally running fleetd and try to get the etcd node(s) from there (maybe via /var/run/fleet.sock ?). After all, running fleetctl from a node of a cluster should probably default to talking to that cluster, regardless of where etcd is.
Given a cluster in the following configuration: https://coreos.com/docs/cluster-management/setup/cluster-architectures/#production-cluster-with-central-services
Attempting to run "fleetctl list-machines" from a worker node gives an empty list.
The reason appears to be that while the fleet service is properly pointing to external etcd nodes, fleetctl still has a default endpoint that points to localhost:4001 for etcd (which actually should not even exist in this configuration)
I think it would be nice if instead of hardcoding the default etcd endpoint, etcdctl was smart enough to look for a locally running fleetd and try to get the etcd node(s) from there (maybe via /var/run/fleet.sock ?). After all, running fleetctl from a node of a cluster should probably default to talking to that cluster, regardless of where etcd is.