Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

fleetctl usability issue from worker nodes #1051

@sigma

Description

@sigma

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions