list
Use greymatter list to list objects and their configurations in the Grey Matter mesh. Objects can be zones, proxies, domains, routes, shared_rules, and clusters.
Usage
greymatter [GLOBAL OPTIONS] list [OPTIONS] <object type> [field_name=field_value]...
Sample Usage
$ greymatter list cluster
[info] 2019/07/10 03:24:43 Preferring --api.key for authentication
[
{
"cluster_key": "cluster-dashboard",
"zone_key": "zone-default-zone",
"name": "dashboard",
"instances": [
{
"host": "dashboard",
"port": 1337,
"metadata": null
}
],
"circuit_breakers": null,
"outlier_detection": null,
"health_checks": null,
"checksum": "52ff049a34702c34f5262d2be15e921b3a14ca6a2dc88849707035da8d7c6588"
},
{
"cluster_key": "cluster-catalog",
"zone_key": "zone-default-zone",
"name": "catalog",
"instances": [
{
"host": "catalog",
"port": 8080,
"metadata": null
}
],
"circuit_breakers": null,
"outlier_detection": null,
"health_checks": null,
"checksum": "5dd9355e9ebbe59b7ef3782263f5ab58029eb2246114e39662dee65242bd69da"
},
{
"cluster_key": "cluster-example-service",
"zone_key": "zone-default-zone",
"name": "example-service",
"instances": [
{
"host": "example-service",
"port": 3000,
"metadata": null
}
],
"circuit_breakers": null,
"outlier_detection": null,
"health_checks": null,
"checksum": "0508a23ae92afea8b5d6a3a9e8c9b3fce60f1f5e0a76c76412fa70ddc12d9304"
}
]Help
To list available commands run with the global help flag, greymatter list --help:
Questions?
Need help with the CLI?
Create an account at Grey Matter Support to reach our team.
Last updated
Was this helpful?