@@ -32,19 +32,10 @@ To create an exporter and save the config locally, run the following command:
3232$ jmp admin create exporter testing --save
3333
3434# Usage for jmp admin create exporter
35- $ jmp admin create exporter
36- --help
37- Usage: jmp admin create exporter [OPTIONS] [NAME]
38-
39- Create an exporter object in the Kubernetes cluster
35+ $ jmp admin create exporter --help
36+ ```
4037
41- Options:
42- -s, --save Save the config file for the created exporter.
43- -o, --out FILE Specify an output file for the exporter config.
44- -n, --namespace TEXT Kubernetes namespace to use
45- --kubeconfig FILENAME path to the kubeconfig file
46- --context TEXT Kubernetes context to use
47- --help Show this message and exit.
38+ ``` {program-output} jmp admin create exporter --help
4839```
4940
5041### Edit the Exporter Config
@@ -102,21 +93,9 @@ $ jmp admin create client hello --save --unsafe
10293
10394# Usage for jmp admin create client
10495jmp admin create client --help
105- Usage: jmp admin create client [OPTIONS] [NAME]
106-
107- Create a client object in the Kubernetes cluster
96+ ` ` `
10897
109- Options:
110- -s, --save Save the config file for the created client.
111- -a, --allow TEXT A comma-separated list of driver client packages to
112- load.
113- --unsafe Should all driver client packages be allowed to load
114- (UNSAFE!).
115- -o, --out FILE Specify an output file for the client config.
116- -n, --namespace TEXT Kubernetes namespace to use
117- --kubeconfig FILENAME path to the kubeconfig file
118- --context TEXT Kubernetes context to use
119- --help Show this message and exit.
98+ ` ` ` {program-output} jmp admin create client --help
12099` ` `
121100
122101# # Connect to the Exporter
@@ -133,30 +112,9 @@ $ jmp shell --client hello --selector example.com/board=foo
133112
134113# Usage for jmp shell
135114$ jmp shell --help
136- Usage: jmp shell [OPTIONS]
137-
138- Spawns a shell connecting to a local or remote exporter
115+ ` ` `
139116
140- Options:
141- --exporter-config PATH Path of exporter config
142- --exporter TEXT Alias of exporter config
143- --client-config PATH Path to client config
144- --client TEXT Alias of client config
145- --lease TEXT
146- -l, --selector TEXT Selector (label query) to filter on, supports '=',
147- '==', and '!=' (e.g. -l key1=value1,key2=value2).
148- Matching objects must satisfy all of the specified
149- label constraints.
150- --duration DURATION Accepted duration formats:
151-
152- PnYnMnDTnHnMnS - ISO 8601 duration format
153- HH:MM:SS - time in hours, minutes, seconds
154- D days, HH:MM:SS - time prefixed by X days
155- D d, HH:MM:SS - time prefixed by X d
156-
157- See https://docs.rs/speedate/latest/speedate/ for
158- details [default: (00:30:00)]
159- --help Show this message and exit.
117+ ` ` ` {program-output} jmp shell --help
160118` ` `
161119
162120Once a lease is acquired, we can interact with the drivers hosted by the exporter
0 commit comments