Skip to content

Conversation

tklauser
Copy link
Member

In some cases it might be useful to know the source of a node's configuration for debugging purposes.

Example output:

$ cilium-dbg node list
Name                                                 IPv4 Address   Endpoint CIDR   IPv6 Address   Endpoint CIDR   Source
cluster-1/ip-10-1-0-232.eu-west-1.compute.internal   10.1.0.232     10.201.2.0/24                                  kvstore
cluster-1/ip-10-1-1-119.eu-west-1.compute.internal   10.1.1.119     10.201.1.0/24                                  kvstore
cluster-1/ip-10-1-2-37.eu-west-1.compute.internal    10.1.2.37      10.201.0.0/24                                  local
cluster-2/ip-10-2-0-237.eu-west-1.compute.internal   10.2.0.237     10.202.0.0/24                                  kvstore
cluster-2/ip-10-2-1-31.eu-west-1.compute.internal    10.2.1.31      10.202.1.0/24                                  kvstore
cluster-2/ip-10-2-2-150.eu-west-1.compute.internal   10.2.2.150     10.202.2.0/24                                  kvstore

In some cases it might be useful to know the source of a node's
configuration for debugging purposes.

Example output:

    $ cilium-dbg node list
    Name                                                 IPv4 Address   Endpoint CIDR   IPv6 Address   Endpoint CIDR   Source
    cluster-1/ip-10-1-0-232.eu-west-1.compute.internal   10.1.0.232     10.201.2.0/24                                  kvstore
    cluster-1/ip-10-1-1-119.eu-west-1.compute.internal   10.1.1.119     10.201.1.0/24                                  kvstore
    cluster-1/ip-10-1-2-37.eu-west-1.compute.internal    10.1.2.37      10.201.0.0/24                                  local
    cluster-2/ip-10-2-0-237.eu-west-1.compute.internal   10.2.0.237     10.202.0.0/24                                  kvstore
    cluster-2/ip-10-2-1-31.eu-west-1.compute.internal    10.2.1.31      10.202.1.0/24                                  kvstore
    cluster-2/ip-10-2-2-150.eu-west-1.compute.internal   10.2.2.150     10.202.2.0/24                                  kvstore

Signed-off-by: Tobias Klauser <tobias@isovalent.com>
@tklauser tklauser added area/cli Impacts the command line interface of any command in the repository. release-note/misc This PR makes changes that have no direct user impact. labels Nov 15, 2023
@tklauser tklauser requested review from a team as code owners November 15, 2023 15:16
@tklauser
Copy link
Member Author

/test

@nathanjsweet nathanjsweet merged commit 0766536 into main Nov 16, 2023
@nathanjsweet nathanjsweet deleted the pr/tklauser/node-list-source branch November 16, 2023 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Impacts the command line interface of any command in the repository. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants