Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
Document listing namespaced brokers with svcat
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynvs-msft committed Jul 27, 2018
1 parent d735050 commit 835d7ea
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,34 @@ Below are some common tasks made easy with svcat. The example output assumes tha

## Find brokers installed on the cluster

This lists all brokers available in the current namespace and at the cluster scope.

```console
$ svcat get brokers
NAME URL STATUS
+------------+-----------------------------------------------------------+--------+
ups-broker http://ups-broker-ups-broker.ups-broker.svc.cluster.local Ready
NAME NAMESPACE URL STATUS
+--------------------+------------+-----------------------------------------------------------+--------+
minibroker http://minibroker-minibroker.minibroker.svc.cluster.local Ready
myminibroker myspace http://minibroker-minibroker.minibroker.svc.cluster.local Ready
```

Use the `--namespace` and `--all-namespaces` flags to control which namespace to view:

```console
$ svcat get brokers --namespace default
NAME NAMESPACE URL STATUS
+--------------------+-----------+-----------------------------------------------------------+--------+
minibroker http://minibroker-minibroker.minibroker.svc.cluster.local Ready
ups-broker default http://ups-broker-ups-broker.ups-broker.svc.cluster.local Ready
```

You can view only cluster-scoped brokers with the `--scope` flag:

```
$ svcat get brokers --scope cluster
NAME NAMESPACE URL STATUS
+-------------------+------------+-----------------------------------------------------------+--------+
minibroker http://minibroker-minibroker.minibroker.svc.cluster.local Ready
```

## Trigger a sync of a broker's catalog
Expand Down

0 comments on commit 835d7ea

Please sign in to comment.