We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This PR adds a new cli command to list exported services
command: consul services exported-services
consul services exported-services
The PR also adds the API docs for the exported services API.
CLI output CE
$ ./bin/consul services exported-services Service Consumer Peers backend east, west db west frontend east, east-eu web east
Enterprise
$ ./bin/consul services exported-services Service Partition Namespace Consumer Peers Consumer Partitions backend default default east, west db default default west partition-west frontend default default east, east-eu frontend default ns east, east-eu web default default east
CLI output json
$ ./bin/consul services exported-services -format=json [ { "Service": "backend", "Consumers": { "Peers": [ "east", "west" ] } }, { "Service": "db", "Consumers": { "Peers": [ "west" ] } }, { "Service": "frontend", "Consumers": { "Peers": [ "east", "east-eu" ] } }, { "Service": "web", "Consumers": { "Peers": [ "east" ] } } ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
This PR adds a new cli command to list exported services
command:
consul services exported-services
The PR also adds the API docs for the exported services API.
CLI output
CE
Enterprise
CLI output json
Testing & Reproduction steps
Links
PR Checklist
The text was updated successfully, but these errors were encountered: